Theoretica
A C++ numerical and automatic mathematical library
algebra_types.h
Go to the documentation of this file.
1 
5 
6 #ifndef THEORETICA_ALGEBRA_TYPES_H
7 #define THEORETICA_ALGEBRA_TYPES_H
8 
9 #include "./vec.h"
10 #include "./mat.h"
11 
12 
13 namespace theoretica {
14 
15 
18 
21 
24 
26  using cmat = mat<complex<>>;
27 
29  using cmat2 = mat<complex<real>, 2, 2>;
30 
32  using cmat3 = mat<complex<real>, 3, 3>;
33 
35  using cmat4 = mat<complex<real>, 4, 4>;
36 
37 
39  using vec2 = vec<real, 2>;
40 
42  using vec3 = vec<real, 3>;
43 
45  using vec4 = vec<real, 4>;
46 
48  using cvec = vec<complex<>>;
49 
51  using cvec2 = vec<complex<>, 2>;
52 
54  using cvec3 = vec<complex<>, 3>;
55 
57  using cvec4 = vec<complex<>, 4>;
58 
59 }
60 
61 #endif
A statically allocated N-dimensional vector with elements of the given type.
Definition: vec.h:88
Matrix class and operations.
Main namespace of the library which contains all functions and objects.
Definition: algebra.h:27
Vector class and operations.