6#ifndef THEORETICA_ALGEBRA_TYPES_H
7#define THEORETICA_ALGEBRA_TYPES_H
17 using mat2 = mat<real, 2, 2>;
20 using mat3 = mat<real, 3, 3>;
23 using mat4 = mat<real, 4, 4>;
26 using cmat = mat<complex<>>;
29 using cmat2 = mat<complex<real>, 2, 2>;
32 using cmat3 = mat<complex<real>, 3, 3>;
35 using cmat4 = mat<complex<real>, 4, 4>;
48 using cvec = vec<complex<>>;
51 using cvec2 = vec<complex<>, 2>;
54 using cvec3 = vec<complex<>, 3>;
57 using cvec4 = vec<complex<>, 4>;
Matrix class and operations.
Main namespace of the library which contains all functions and objects.
Definition algebra.h:27
vec< complex<>, 4 > cvec4
A 4-dimensional vector with complex elements.
Definition algebra_types.h:57
vec< real, 2 > vec2
A 2-dimensional vector with real elements.
Definition algebra_types.h:39
mat< complex< real >, 3, 3 > cmat3
A 3x3 matrix with real entries.
Definition algebra_types.h:32
vec< complex<>, 2 > cvec2
A 2-dimensional vector with complex elements.
Definition algebra_types.h:51
vec< real, 4 > vec4
A 4-dimensional vector with real elements.
Definition algebra_types.h:45
mat< complex<> > cmat
A variable size matrix with complex entries.
Definition algebra_types.h:26
vec< complex<> > cvec
A variable size vector with complex elements.
Definition algebra_types.h:48
vec< complex<>, 3 > cvec3
A 3-dimensional vector with complex elements.
Definition algebra_types.h:54
mat< complex< real >, 2, 2 > cmat2
A 2x2 matrix with real entries.
Definition algebra_types.h:29
mat< real, 4, 4 > mat4
A 4x4 matrix with real entries.
Definition algebra_types.h:23
vec< real, 3 > vec3
A 3-dimensional vector with real elements.
Definition algebra_types.h:42
mat< complex< real >, 4, 4 > cmat4
A 4x4 matrix with real entries.
Definition algebra_types.h:35
mat< real, 3, 3 > mat3
A 3x3 matrix with real entries.
Definition algebra_types.h:20
Vector class and operations.