summaryrefslogtreecommitdiff
path: root/modules/codec/c++/math.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-09 15:10:50 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-10-09 15:10:50 +0200
commit7b8139c100a16cb1d8322fa1b68dd343b410a474 (patch)
treeb74e033e1c0a648c9dc76bafc3e04c199fdd89db /modules/codec/c++/math.hpp
parente2044c1d4553fb0b0d726381fee5605c5a07c79f (diff)
Minor work on math stuff
Diffstat (limited to 'modules/codec/c++/math.hpp')
-rw-r--r--modules/codec/c++/math.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/codec/c++/math.hpp b/modules/codec/c++/math.hpp
new file mode 100644
index 0000000..dd9e49b
--- /dev/null
+++ b/modules/codec/c++/math.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "data_math.hpp"
+
+namespace saw {
+namespace math {
+template<typename T, typename Encoding = encode::Native>
+data<typename T::InnerType,Encoding> norm_2(const data<T,Encoding>& d){
+ return {};
+}
+}
+}