PETLS
typedefs.hpp
Go to the documentation of this file.
1 #ifndef typedefs_h
2 #define typedefs_h
3 
4 #include "Eigen/SparseCore" //also includes core
5 
6 
7 
8 
9 
10 typedef float coefficient_type;
11 typedef float spectra_type;
12 
13 typedef Eigen::SparseMatrix<coefficient_type, Eigen::ColMajor> SparseMatrix_PL;
14 typedef Eigen::Matrix<coefficient_type, Eigen::Dynamic, Eigen::Dynamic> DenseMatrix_PL;
15 typedef Eigen::Matrix<spectra_type, Eigen::Dynamic, Eigen::Dynamic> SparseMatrix_spectra_PL;
16 typedef Eigen::Matrix<spectra_type, Eigen::Dynamic, Eigen::Dynamic> DenseMatrix_spectra_PL;
17 typedef Eigen::Matrix<spectra_type, Eigen::Dynamic, 1> spectra_vec;
18 
19 typedef Eigen::SparseMatrix<int, Eigen::ColMajor> SparseMatrixInt;
20 typedef Eigen::SparseMatrix<double, Eigen::ColMajor> SparseMatrixDouble;
21 typedef Eigen::SparseMatrix<float, Eigen::ColMajor> SparseMatrixFloat;
22 
23 
24 typedef double filtration_type;
25 typedef int index_type;
26 
27 
28 
29 #endif
Eigen::Matrix< spectra_type, Eigen::Dynamic, Eigen::Dynamic > SparseMatrix_spectra_PL
Definition: typedefs.hpp:15
float coefficient_type
Definition: typedefs.hpp:10
Eigen::Matrix< coefficient_type, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix_PL
Definition: typedefs.hpp:14
Eigen::Matrix< spectra_type, Eigen::Dynamic, 1 > spectra_vec
Definition: typedefs.hpp:17
Eigen::SparseMatrix< float, Eigen::ColMajor > SparseMatrixFloat
Definition: typedefs.hpp:21
Eigen::SparseMatrix< coefficient_type, Eigen::ColMajor > SparseMatrix_PL
Definition: typedefs.hpp:13
Eigen::SparseMatrix< double, Eigen::ColMajor > SparseMatrixDouble
Definition: typedefs.hpp:20
int index_type
Definition: typedefs.hpp:25
Eigen::Matrix< spectra_type, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix_spectra_PL
Definition: typedefs.hpp:16
float spectra_type
Definition: typedefs.hpp:11
Eigen::SparseMatrix< int, Eigen::ColMajor > SparseMatrixInt
Definition: typedefs.hpp:19
double filtration_type
Definition: typedefs.hpp:24