forked from theodorekim/HOBAKv1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SETTINGS.h
48 lines (36 loc) · 1.56 KB
/
SETTINGS.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
/*
This file is part of HOBAK.
HOBAK is free software: you can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.
HOBAK is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with HOBAK.
If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#include <Eigen/Dense>
#include <Eigen/Sparse>
typedef double REAL;
typedef Eigen::Matrix<REAL, 3, 3> MATRIX3;
typedef Eigen::Matrix<REAL, 9, 9> MATRIX9;
typedef Eigen::Matrix<REAL, 3, 12> MATRIX3x12;
typedef Eigen::Matrix<REAL, 9, 12> MATRIX9x12;
typedef Eigen::Matrix<REAL, 12, 12> MATRIX12;
typedef Eigen::Matrix<REAL, 2, 1> VECTOR2;
typedef Eigen::Matrix<REAL, 3, 1> VECTOR3;
typedef Eigen::Matrix<REAL, 9, 1> VECTOR9;
typedef Eigen::Matrix<REAL, 12, 1> VECTOR12;
typedef Eigen::Matrix<int, 2, 1> VECTOR2I;
typedef Eigen::Matrix<int, 3, 1> VECTOR3I;
typedef Eigen::Matrix<int, 4, 1> VECTOR4I;
typedef Eigen::Matrix<REAL, Eigen::Dynamic, 1> VECTOR;
typedef Eigen::Matrix<REAL, Eigen::Dynamic, Eigen::Dynamic> MATRIX;
typedef Eigen::SparseMatrix<REAL> SPARSE_MATRIX;
// print out more debug information than usual?
#define VERY_VERBOSE 0
// enable debugging traps?
#define ENABLE_DEBUG_TRAPS 0
#endif