enable complex type for PIMathVectorT and PIMathMatrixT

TODO: add precision to invert and test vector
This commit is contained in:
2024-10-16 22:10:28 +03:00
parent 92a87a0c64
commit d3d7235338
4 changed files with 258 additions and 207 deletions

View File

@@ -36,6 +36,12 @@
using std::complex;
template<typename T>
struct is_complex: std::false_type {};
template<typename T>
struct is_complex<std::complex<T>>: std::true_type {};
typedef complex<int> complexi;
typedef complex<short> complexs;
typedef complex<float> complexf;