diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-09 13:33:34 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-10-09 13:33:34 +0200 |
commit | e2044c1d4553fb0b0d726381fee5605c5a07c79f (patch) | |
tree | a7dc5279537a61f593335b474bc2be4b51272724 /modules | |
parent | ad6e36bd799d01340673a3309eca1b1de07e883c (diff) |
Adding concepts of mathematical data types
Diffstat (limited to 'modules')
-rw-r--r-- | modules/codec/c++/data_math.hpp | 16 | ||||
-rw-r--r-- | modules/codec/c++/schema_math.hpp | 16 |
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 {}; +} +} |