-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheigen_wrapper_inst.h
53 lines (32 loc) · 2.42 KB
/
eigen_wrapper_inst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// instantiation
// matrices
template struct Matrix<INST_TYPE, -1, 1>;
template struct Matrix<INST_TYPE, -1, -1>;
template struct Matrix<INST_TYPE, 2, 1>;
template struct Matrix<INST_TYPE, 2, 2>;
template struct Matrix<INST_TYPE, 3, 1>;
template struct Matrix<INST_TYPE, 3, 3>;
// friends
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, -1, 1> &mat );
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, -1, -1> &mat );
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, 2, 1> &mat );
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, 2, 2> &mat );
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, 3, 1> &mat );
template std::ostream &operator<<( std::ostream &os, const Matrix<INST_TYPE, 3, 3> &mat );
template Matrix<INST_TYPE, 2, 2> operator*( const Matrix<INST_TYPE, 2, 2> &A, const Matrix<INST_TYPE, 2, 2> &B );
template Matrix<INST_TYPE, 3, 3> operator*( const Matrix<INST_TYPE, 3, 3> &A, const Matrix<INST_TYPE, 3, 3> &B );
template Matrix<INST_TYPE, 2, 1> operator+( const Matrix<INST_TYPE, 2, 1> &A, const Matrix<INST_TYPE, 2, 1> &B );
template Matrix<INST_TYPE, 3, 1> operator+( const Matrix<INST_TYPE, 3, 1> &A, const Matrix<INST_TYPE, 3, 1> &B );
template Matrix<INST_TYPE, 3, 1> operator+( const Matrix<INST_TYPE, 3, 1> &A, const Matrix<INST_TYPE, -1, 1> &B );
template Matrix<INST_TYPE, 2, 1> operator-( const Matrix<INST_TYPE, 2, 1> &A, const Matrix<INST_TYPE, 2, 1> &B );
template Matrix<INST_TYPE, 2, 2> operator-( const Matrix<INST_TYPE, 2, 2> &A, const Matrix<INST_TYPE, 2, 2> &B );
template Matrix<INST_TYPE, 3, 1> operator-( const Matrix<INST_TYPE, 3, 1> &A, const Matrix<INST_TYPE, 3, 1> &B );
template Matrix<INST_TYPE, 3, 1> operator-( const Matrix<INST_TYPE, 3, 1> &A, const Matrix<INST_TYPE, -1, 1> &B );
// conversion/copy 'ctor
template Matrix<INST_TYPE, -1, -1>::Matrix( Matrix<INST_TYPE, -1, -1> &&A );
template Matrix<INST_TYPE, 2, 2>::Matrix( Matrix<INST_TYPE, 2, 2> &A );
template Matrix<INST_TYPE, 2, 2>::Matrix( Matrix<INST_TYPE, 2, 2> &&A );
template Matrix<INST_TYPE, 3, 1>::Matrix( Matrix<INST_TYPE, -1, 1> &A );
template Matrix<INST_TYPE, 3, 1>::Matrix( Matrix<INST_TYPE, -1, 1> &&A );
template Matrix<INST_TYPE, 3, 1>::Matrix( Matrix<INST_TYPE, 3, 1> &A );
template Matrix<INST_TYPE, 3, 1>::Matrix( Matrix<INST_TYPE, 3, 1> &&A );