IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LinearAlgebraTypes.h
Go to the documentation of this file.
1 // LinearAlgebraTypes.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKMATH_LINEARALGEBRATYPES_H__
16 #define __IPSDKMATH_LINEARALGEBRATYPES_H__
17 
18 #include <IPSDKUtil/BaseTypes.h>
19 #include <boost/numeric/ublas/vector.hpp>
20 #include <boost/numeric/ublas/matrix.hpp>
21 
22 #ifdef IPSDK_USE_MKL
23  #include "mkl_boost_ublas_matrix_prod.hpp"
24 #endif
25 
26 namespace ipsdk {
27 namespace math {
28 
31 
33 typedef boost::numeric::ublas::unbounded_array<ipReal64> UnBoundedArray;
34 
36 typedef boost::numeric::ublas::vector<ipReal64> Vector;
37 
39 typedef boost::numeric::ublas::bounded_vector<ipReal64, 2> Vector2d;
40 
42 typedef boost::numeric::ublas::bounded_vector<ipReal64, 3> Vector3d;
43 
45 typedef boost::numeric::ublas::bounded_vector<ipReal64, 4> Vector4d;
46 
48 typedef boost::numeric::ublas::matrix<ipReal64> Matrix;
49 
51 typedef boost::numeric::ublas::bounded_matrix<ipReal64, 2, 2> Matrix2d;
52 
54 typedef boost::numeric::ublas::bounded_matrix<ipReal64, 3, 3> Matrix3d;
55 
57 typedef boost::numeric::ublas::bounded_matrix<ipReal64, 4, 4> Matrix4d;
58 
61 
62 } // end of namespace math
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKMATH_LINEARALGEBRATYPES_H__
boost::numeric::ublas::matrix< ipReal64 > Matrix
matrix type associated to library
Definition: LinearAlgebraTypes.h:48
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::numeric::ublas::bounded_vector< ipReal64, 4 > Vector4d
4d vector type associated to library
Definition: LinearAlgebraTypes.h:45
boost::numeric::ublas::unbounded_array< ipReal64 > UnBoundedArray
unbounded array type associated to library
Definition: LinearAlgebraTypes.h:33
boost::numeric::ublas::vector< ipReal64 > Vector
vector type associated to library
Definition: LinearAlgebraTypes.h:36
Base types for multiplatform compatibility.
boost::numeric::ublas::bounded_matrix< ipReal64, 4, 4 > Matrix4d
4d matrix (4x4) type associated to library
Definition: LinearAlgebraTypes.h:57
boost::numeric::ublas::bounded_matrix< ipReal64, 3, 3 > Matrix3d
3d matrix (3x3) type associated to library
Definition: LinearAlgebraTypes.h:54
boost::numeric::ublas::bounded_vector< ipReal64, 2 > Vector2d
2d vector type associated to library
Definition: LinearAlgebraTypes.h:39
boost::numeric::ublas::bounded_vector< ipReal64, 3 > Vector3d
3d vector type associated to library
Definition: LinearAlgebraTypes.h:42
boost::numeric::ublas::bounded_matrix< ipReal64, 2, 2 > Matrix2d
2d matrix (2x2) type associated to library
Definition: LinearAlgebraTypes.h:51