summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-09 13:33:34 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-09 13:33:34 +0200
commite2044c1d4553fb0b0d726381fee5605c5a07c79f (patch)
treea7dc5279537a61f593335b474bc2be4b51272724 /modules
parentad6e36bd799d01340673a3309eca1b1de07e883c (diff)
Adding concepts of mathematical data types
Diffstat (limited to 'modules')
-rw-r--r--modules/codec/c++/data_math.hpp16
-rw-r--r--modules/codec/c++/schema_math.hpp16
2 files changed, 32 insertions, 0 deletions
diff --git a/modules/codec/c++/data_math.hpp b/modules/codec/c++/data_math.hpp
new file mode 100644
index 0000000..3bda481
--- /dev/null
+++ b/modules/codec/c++/data_math.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "schema_math.hpp"
+
+namespace saw {
+template<typename T>
+class data<schema::Quarternion<T>,encode::Native> {
+private:
+ std::array<data<T,encode::Native>, 4u> vals_;
+public:
+
+
+
+
+};
+}
diff --git a/modules/codec/c++/schema_math.hpp b/modules/codec/c++/schema_math.hpp
new file mode 100644
index 0000000..471409f
--- /dev/null
+++ b/modules/codec/c++/schema_math.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "schema.hpp"
+
+namespace saw {
+namespace schema {
+template<typename T>
+struct Complex {};
+
+template<typename T>
+struct Quaternion {};
+
+template<typename T, uint64_t D>
+struct Euler {};
+}
+}