abstract.hh File Reference
Include dependency graph for abstract.hh:

Namespaces

 maal
 Compehensive namespace of the second version of the MAAL.
 
 maal::abstract
 Abstract (purely virtual) version of the Maal2.
 

Typedefs

typedef double maal::abstract::FloatType
 Native type of the Matrix and Vector classes. More...
 
maal::boost::MATLAB
@ MATLAB
Definition: boostmacros.hh:104
maal::boost::Matrix
Matrix class that include the boost::ublas::matrix.
Definition: boostmatrix.hh:61
maal::boost::Matrix::multiply
friend Matrix & multiply(const Matrix &A, const Matrix &B, Matrix &C)
Definition: boostmatrix.hh:531
MAAL_CHECKVERBOSE
#define MAAL_CHECKVERBOSE(b)
Definition: boostmacros.hh:77
maal::abstract::Matrix::datablock
FloatType * datablock(void)
maal::boost::Vector::Vector
Vector(const InternalVector::size_type size=0)
Classical constructor.
Definition: boostvector.hh:77
maal::abstract::Matrix::setZero
Matrix & setZero(void)
maal::abstract::Matrix::operator<<
friend std::ostream & operator<<(std::ostream &os, const Matrix &m1)
maal::boost::Matrix::AUTORESIZE
static const bool AUTORESIZE
Definition: boostmatrix.hh:70
maal::boost::Vector::multiply
static Vector & multiply(const Vector &v1, const FloatType x, Vector &res)
Definition: boostvector.hh:238
maal::boost::Vector::operator+
friend Vector operator+(const Vector &v1, const Vector &v2)
Definition: boostvector.hh:347
maal::boost::Matrix::substraction
Matrix substraction(const Matrix &B) const
Definition: boostmatrix.hh:572
maal::boost::Vector::max
FloatType max(void) const
Not implemented yet.
Definition: boostvector.hh:169
maal::boost::Matrix::operator()
FloatType & operator()(const int i, const int j)
Definition: boostmatrix.hh:786
maal::abstract::Matrix::substraction
friend Matrix & substraction(const Matrix &A, const Matrix &B, Matrix &C)
maal::abstract::Vector::norm
FloatType norm(void) const
maal::boost::MatrixSvd::initSvdMemory
void initSvdMemory(void) const
Definition: boostmatrixsvd.hh:92
maal::abstract::Matrix::initFromMotherLib
Matrix & initFromMotherLib(const InternalMatrix &bv)
maal::abstract::Matrix::setIdentity
Matrix & setIdentity(void)
maal::abstract::Matrix::division
friend Matrix & division(const Matrix &A, const FloatType x, Matrix &C)
maal::boost::Matrix::max
FloatType max(void) const
Not implemented yet.
Definition: boostmatrix.hh:208
maal::boost::Matrix::proprio
bool proprio
Definition: boostmatrix.hh:69
abstractvector.hh
maal::boost::COMPLET
@ COMPLET
Definition: boostmacros.hh:102
maal::boost::Matrix::determinant
FloatType determinant(void) const
Definition: boostmatrix.hh:174
maal::abstract::Matrix::norm1
FloatType norm1(void) const
maal::boost::Matrix::multiply
friend Matrix & multiply(const Matrix &A, const FloatType x, Matrix &C)
Definition: boostmatrix.hh:585
maal::abstract::Vector::fill
Vector & fill(const FloatType value)
maal::boost::Vector::crossProduct
Vector & crossProduct(const Vector &v2, Vector &res) const
Definition: boostvector.hh:204
maal::abstract::Vector::operator>>
friend std::istream & operator>>(std::istream &is, Vector &v1)
maal::boost::Matrix::addition
friend Matrix & addition(const Matrix &A, const FloatType x, Matrix &C)
Definition: boostmatrix.hh:597
maal::boost::Matrix::opposite
Matrix & opposite(Matrix &res) const
Compute the opposite of the matrix -M.
Definition: boostmatrix.hh:512
maal::boost::Vector::operator-
friend Vector operator-(const Vector &v1, const Vector &v2)
Definition: boostvector.hh:349
maal::boost::Matrix::_resizeInv
static void _resizeInv(InternalMatrix &res, const InternalMatrix &mat2)
Definition: boostmatrix.hh:898
maal::boost::Matrix::setDiagonal
Matrix & setDiagonal(const Vector &vector)
Definition: boostmatrix.hh:739
maal::boost::Vector::elementAt
const FloatType & elementAt(const InternalVector::size_type row) const
Access to the i-th element in R-only.
Definition: boostvector.hh:299
maal::abstract::Matrix::determinant
FloatType determinant(void) const
maal::abstract::Vector::operator*
friend Vector operator*(const Vector &v1, const Vector &v2)
maal::boost::MatrixSvd::toTranspose
bool toTranspose
Definition: boostmatrixsvd.hh:50
maal::boost::Matrix::operator()
const FloatType & operator()(const int i, const int j) const
Definition: boostmatrix.hh:785
jrlMathTools::Matrix4x4
maal::boost::operator<<
std::ostream & operator<<(std::ostream &os, DisplayType disp)
The second solution is to pass the DisplayType directly to the ouput operator: cout << DisplayType.
Definition: boostmacros.hh:125
maal::abstract::Vector::norm1
FloatType norm1(void) const
maal::boost::Vector::accessToMotherLib
const InternalVector & accessToMotherLib(void) const
Access to the boost internal vector.
Definition: boostvector.hh:106
ML_NOT_IMPLEMENTED
#define ML_NOT_IMPLEMENTED(a)
Definition: boostmacros.hh:73
maal::abstract::Matrix::Matrix
Matrix(const unsigned int rows=0, const unsigned int cols=0)
maal::boost::MatrixSvd::VT
mutable ::boost::numeric::ublas::matrix< FloatType,::boost::numeric::ublas::column_major > VT
Definition: boostmatrixsvd.hh:54
maal::boost::Matrix::CHECKRESIZE
static const bool CHECKRESIZE
Definition: boostmatrix.hh:71
maal::abstract::Matrix::sumSquare
FloatType sumSquare(void) const
maal::boost::Matrix::Matrix
Matrix(const unsigned int rows=0, const unsigned int cols=0)
Classical constructor.
Definition: boostmatrix.hh:82
maal::boost::Matrix::datablock
const FloatType * datablock(void) const
Definition: boostmatrix.hh:664
maal::boost::MatrixSvd::nbcols
size_t nbcols
Definition: boostmatrixsvd.hh:49
maal::boost::Matrix::pseudoInverse
Matrix pseudoInverse(const FloatType threshold=1e-6, Matrix *U=NULL, Vector *S=NULL, Matrix *V=NULL) const
Definition: boostmatrix.hh:384
maal::boost::Vector::scalarProduct
FloatType scalarProduct(const Vector &v2) const
Scalar product: v1.v2 = sum( x1*x2 ).
Definition: boostvector.hh:181
maal::boost::Vector::AUTORESIZE
static const bool AUTORESIZE
Definition: boostvector.hh:64
boostvector.hh
maal::boost::Vector::operator>>
friend std::istream & operator>>(std::istream &is, Vector &v1)
Definition: boostvector.hh:367
maal::abstract::Matrix::extract
Matrix & extract(const int top, const int left, const int nbrows, const int nbcols, Matrix &C) const
maal::boost::Matrix::_resizeProd
static void _resizeProd(Vector::InternalVector &res, const InternalMatrix &mat1)
Definition: boostmatrix.hh:894
maal::abstract::Vector::min
FloatType min(void) const
maal::boost::Matrix::extract
Matrix extract(const int top, const int left, const int nbrows, const int nbcols)
Definition: boostmatrix.hh:682
maal::boost::Matrix::_resize
static void _resize(InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:827
maal::boost::Vector::operator*
friend Vector operator*(const Vector &v1, const Vector &v2)
Definition: boostvector.hh:351
maal::boost::Matrix::setZero
Matrix & setZero(void)
Definition: boostmatrix.hh:147
maal::abstract::Vector::datablock
const FloatType * datablock(void) const
maal::boost::Matrix::accessToMotherLib
InternalMatrix & accessToMotherLib(void)
Access to the boost internal vector.
Definition: boostmatrix.hh:114
boostmatrix.hh
maal::boost::Matrix::setIdentity
Matrix & setIdentity(void)
Definition: boostmatrix.hh:148
maal::boost::Matrix::_checksizeProd
static bool _checksizeProd(const InternalMatrix &mat1, const Vector::InternalVector &vct)
Definition: boostmatrix.hh:880
maal::abstract::Vector::~Vector
virtual ~Vector(void)
maal::abstract::Matrix::elementAt
const FloatType & elementAt(const int row, const int col) const
matrixabstractlayermatrix4x4jrlmath.hh
matrix3d
jrlMathTools::Matrix3x3< double > matrix3d
Definition: matrixabstractlayermatrix3x3jrlmath.hh:33
maal::abstract::Vector::accessToMotherLib
InternalVector & accessToMotherLib(void)
maal::abstract::Vector::Vector
Vector(const unsigned int size=0)
maal::boost::Matrix::multiply
Matrix multiply(const Matrix &B) const
Definition: boostmatrix.hh:533
maal::boost::Matrix::multiply
friend Vector & multiply(const Matrix &M, const Vector &v, Vector &res)
Definition: boostmatrix.hh:544
maal::abstract::Matrix::norm
FloatType norm(void) const
maal::boost::Vector::crossProduct
Vector crossProduct(const Vector &v2)
Definition: boostvector.hh:216
maal::abstract::Matrix::opposite
Matrix opposite(void) const
maal::boost::Matrix::multiply
Matrix & multiply(const Matrix &B, Matrix &C) const
Definition: boostmatrix.hh:535
maal::boost::Matrix::transpose
Matrix & transpose(Matrix &At) const
Definition: boostmatrix.hh:224
maal::boost::Vector::proprio
bool proprio
Definition: boostvector.hh:63
maal::abstract::FloatType
double FloatType
Native type of the Matrix and Vector classes.
Definition: abstract.hh:47
maal::boost::Matrix::_checksizeVerb
static bool _checksizeVerb(const InternalMatrix &mat1, const unsigned int s1, const unsigned int s2)
Definition: boostmatrix.hh:848
maal::boost::Vector::normInfty
FloatType normInfty(void) const
Infinity norm: max( |xi| ).
Definition: boostvector.hh:175
maal::boost::Vector::operator()
FloatType & operator()(const InternalVector::size_type i)
Definition: boostvector.hh:364
maal::boost::Matrix::nbRows
unsigned int nbRows(void) const
Get the number of rows.
Definition: boostmatrix.hh:135
maal::boost::Vector::crossProduct
static Vector & crossProduct(const Vector &v1, const Vector &v2, Vector &res)
Definition: boostvector.hh:201
maal::boost::Vector::operator+=
Vector & operator+=(const Vector &v1)
Definition: boostvector.hh:359
maal::abstract::Vector::resize
Vector & resize(const unsigned int nbRows, const bool setZero=true)
maal::boost::Matrix::operator-
friend Matrix operator-(const Matrix &m1, const Matrix &m2)
Definition: boostmatrix.hh:773
maal::abstract::Vector::operator*=
Vector & operator*=(const Vector &v1)
maal::abstract::Matrix::operator()
const FloatType & operator()(const int i, const int j) const
maal::boost::FloatType
double FloatType
Native type of the Matrix and Vector classes.
Definition: boostmacros.hh:89
maal::boost::Matrix::norm
FloatType norm(void) const
Not implemented yet.
Definition: boostmatrix.hh:203
matrixNxP
boost_ublas::matrix< double > matrixNxP
maal::abstract::Vector::scalarProduct
FloatType scalarProduct(const Vector &v2) const
maal::boost::Vector::multiply
static Vector & multiply(const Vector &v1, const Vector &v2, Vector &res)
Definition: boostvector.hh:223
maal::boost::Matrix::pseudoInverse
virtual Matrix & pseudoInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Vector *Sref=NULL, Matrix *Vref=NULL) const
Compute the pseudo-inverse of the matrix.
Definition: boostmatrix.hh:279
matrix3d
jrlMathTools::Matrix3x3< double > matrix3d
Definition: matrixabstractlayert3d.hh:147
maal::abstract::Vector::operator<<
friend std::ostream & operator<<(std::ostream &os, const Vector &v1)
maal::boost::Matrix::elementAt
const FloatType & elementAt(const int elmt) const
Definition: boostmatrix.hh:698
matrix4x4.hh
maal::abstract::Vector::extract
Vector & extract(const unsigned int top, const unsigned int nbrows, Vector &C) const
maal::boost::Matrix::juxtaposeMatrix
Matrix juxtaposeMatrix(const Matrix &B) const
Definition: boostmatrix.hh:757
maal::abstract::Vector::normInfty
FloatType normInfty(void) const
maal::boost::Matrix::addition
Matrix addition(const Matrix &B) const
Definition: boostmatrix.hh:560
maal::boost::Matrix::operator+
friend Matrix operator+(const Matrix &m1, const Matrix &m2)
Definition: boostmatrix.hh:772
maal::abstract::Matrix::multiply
friend Matrix & multiply(const Matrix &A, const Matrix &B, Matrix &C)
maal::boost::Vector::opposite
Vector opposite(void) const
Definition: boostvector.hh:144
vector3d
jrlMathTools::Vector3D< double > vector3d
Definition: matrixabstractlayervector3jrlmath.hh:35
maal::boost::Matrix::operator*=
Matrix & operator*=(const Matrix &m1)
Definition: boostmatrix.hh:778
maal::boost::Matrix::dampedInverse
Matrix dampedInverse(const FloatType threshold=1e-6, Matrix *U=NULL, Vector *S=NULL, Matrix *V=NULL) const
Definition: boostmatrix.hh:505
__ret_mal_matrix_ret_determinant
double __ret_mal_matrix_ret_determinant(boost_ublas::matrix< type > const &m)
Definition: matrixabstractlayerboost.hh:244
maal::boost::Vector::substraction
Vector & substraction(const Vector &v2, Vector &res) const
Definition: boostvector.hh:268
maal::boost::Matrix::stackMatrix
Matrix stackMatrix(const Matrix &B) const
Definition: boostmatrix.hh:752
maal::abstract::Matrix::nbRows
unsigned int nbRows(void) const
maal::boost::MatrixSvd::pseudoInverse
virtual Matrix & pseudoInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Vector *Sref=NULL, Matrix *Vref=NULL) const
Compute the pseudo-inverse of the matrix.
Definition: boostmatrixsvd.hh:141
maal::boost::Vector::initFromMotherLib
Vector & initFromMotherLib(const InternalVector &bv)
Copy the values and data of an existing boost vector.
Definition: boostvector.hh:109
maal::boost::Vector::extract
Vector & extract(const InternalVector::size_type top, const InternalVector::size_type nbrows, Vector &C) const
Extract a part of the vector.
Definition: boostvector.hh:318
maal::boost::MatrixSvd::s
mutable ::boost::numeric::ublas::vector< FloatType > s
Definition: boostmatrixsvd.hh:55
maal::boost::MatrixSvd
Definition: boostmatrixsvd.hh:43
maal::boost::Matrix::_checksize
static bool _checksize(const InternalMatrix &mat1, const unsigned int s1, const unsigned int s2)
Definition: boostmatrix.hh:844
maal::abstract::Matrix::fill
Matrix & fill(const FloatType value)
maal::boost::Matrix::substraction
Matrix & substraction(const Matrix &B, Matrix &C) const
Definition: boostmatrix.hh:575
maal::abstract::Matrix::operator*=
Matrix & operator*=(const Matrix &m1)
maal::abstract::Vector::substraction
static Vector & substraction(const Vector &v1, const Vector &v2, Vector &res)
maal::boost::Vector::_resize
static void _resize(InternalVector &vct1, const InternalVector &vct2)
Definition: boostvector.hh:388
maal::boost::Matrix::autoresize
bool autoresize(void)
Definition: boostmatrix.hh:825
abstractmatrix.hh
maal::boost::Vector::CHECKRESIZE
static const bool CHECKRESIZE
Definition: boostvector.hh:65
maal::boost::MatrixSvd::U
mutable ::boost::numeric::ublas::matrix< FloatType,::boost::numeric::ublas::column_major > U
Definition: boostmatrixsvd.hh:53
maal::boost::Matrix::_checksizeSquare
static bool _checksizeSquare(const InternalMatrix &mat1)
Definition: boostmatrix.hh:901
maal::boost::Matrix::addition
friend Matrix & addition(const Matrix &A, const Matrix &B, Matrix &C)
Definition: boostmatrix.hh:558
maal::boost::Matrix::addition
Matrix & addition(const Matrix &B, Matrix &C) const
Definition: boostmatrix.hh:562
maal::boost::MatrixSvd::lda
int lda
Definition: boostmatrixsvd.hh:59
maal::boost::Vector::min
FloatType min(void) const
Not implemented yet.
Definition: boostvector.hh:171
maal::abstract::Matrix::operator=
Matrix & operator=(const Matrix &m1)
maal::boost::Matrix::datablock
FloatType * datablock(void)
Definition: boostmatrix.hh:659
maal::boost::MatrixSvd::MatrixSvd
MatrixSvd(const MatrixSvd &copy)
Definition: boostmatrixsvd.hh:70
maal::boost::Vector::multiply
Vector multiply(const Vector &v2) const
Definition: boostvector.hh:225
maal::boost::MatrixSvd::reviseMemory
bool reviseMemory(void) const
Definition: boostmatrixsvd.hh:79
maal::boost::Matrix::_checksize
static bool _checksize(const InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:830
vectorN
boost_ublas::vector< double > vectorN
Definition: matrixabstractlayerboost.hh:81
maal::boost::Matrix::min
FloatType min(void) const
Not implemented yet.
Definition: boostmatrix.hh:210
maal::boost::Vector::multiply
Vector & multiply(const Vector &v2, Vector &res) const
Definition: boostvector.hh:227
maal::boost::Matrix::~Matrix
virtual ~Matrix(void)
Definition: boostmatrix.hh:107
maal::boost::MatrixSvd::MatrixSvd
MatrixSvd(InternalMatrix *clone, const bool=false)
Definition: boostmatrixsvd.hh:67
maal::boost::Matrix::initFromMotherLib
Matrix & initFromMotherLib(const InternalMatrix &bv)
Copy the values and data of an existing boost vector.
Definition: boostmatrix.hh:119
maal::abstract::Vector
Abstract Vector class.
Definition: abstractvector.hh:41
maal::abstract::Vector::max
FloatType max(void) const
maal::boost::Matrix::elementAt
const FloatType & elementAt(const int row, const int col) const
Definition: boostmatrix.hh:688
maal::boost::getDisplayType
DisplayType getDisplayType(void)
Get the current display type.
Definition: boostmacros.hh:118
maal::boost::Matrix::operator=
Matrix & operator=(const Matrix &m1)
Definition: boostmatrix.hh:790
maal::abstract::Matrix::~Matrix
virtual ~Matrix(void)
MAL_MATRIX_NB_ROWS
#define MAL_MATRIX_NB_ROWS(name)
Definition: matrixabstractlayerboost.hh:140
maal::boost::Vector::norm
FloatType norm(void) const
Definition: boostvector.hh:159
maal::boost::Vector::sumSquare
FloatType sumSquare(void) const
Not implemented yet.
Definition: boostvector.hh:173
maal::boost::Vector::Vector
Vector(InternalVector *clone, const bool proprio=false)
Build only the capsule around a already existing boost vector object.
Definition: boostvector.hh:84
MAL_VECTOR_SIZE
#define MAL_VECTOR_SIZE(name)
Definition: matrixabstractlayerboost.hh:101
matrix3x3.hh
maal::boost::Matrix::fill
Matrix & fill(const FloatType value)
Definition: boostmatrix.hh:157
maal::abstract::Vector::setZero
Vector & setZero(void)
maal::boost::DisplayType
DisplayType
Option of display for the matrix and vector output (cout<<).
Definition: boostmacros.hh:100
vector4d
jrlMathTools::Vector4D< double > vector4d
Definition: matrixabstractlayervector4jrlmath.hh:38
maal::boost::Vector::vector
InternalVector & vector
Definition: boostvector.hh:62
maal::abstract::Matrix::max
FloatType max(void) const
maal::boost::Matrix::_checksizeProd
static bool _checksizeProd(const InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:859
boostsvd.hh
maal::boost::Matrix::_resizeProd
static void _resizeProd(InternalMatrix &res, const InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:877
maal::boost::Matrix::multiply
Matrix multiply(const FloatType x) const
Definition: boostmatrix.hh:587
maal::boost::Matrix::operator+=
Matrix & operator+=(const Matrix &m1)
Definition: boostmatrix.hh:776
maal::boost::Matrix::operator*
friend Matrix operator*(const Matrix &m1, const Matrix &m2)
Definition: boostmatrix.hh:774
matrixabstractlayervector3jrlmath.hh
maal::boost::Vector::datablock
FloatType * datablock(void)
Access to the C-style double matrix.
Definition: boostvector.hh:292
maal::boost::MatrixSvd::sp
mutable ::boost::numeric::ublas::vector< FloatType > sp
Definition: boostmatrixsvd.hh:57
boostmacros.hh
maal::abstract::Vector::multiply
static Vector & multiply(const Vector &v1, const Vector &v2, Vector &res)
MRAWDATA
#define MRAWDATA(x)
Definition: boostmacros.hh:59
maal::boost::Matrix::normInfty
FloatType normInfty(void) const
Definition: boostmatrix.hh:206
maal::boost::Matrix::_checksizeProdVerb
static bool _checksizeProdVerb(const InternalMatrix &mat1, const Vector::InternalVector &vct)
Definition: boostmatrix.hh:883
maal::boost::Matrix::getDiagonal
Vector getDiagonal(void) const
Definition: boostmatrix.hh:728
matrixabstractlayermatrix3x3jrlmath.hh
maal::abstract::Matrix::getDiagonal
Vector getDiagonal(void) const
MAL_MATRIX_NB_COLS
#define MAL_MATRIX_NB_COLS(name)
Definition: matrixabstractlayerboost.hh:143
maal::boost::Vector::_checksize
static bool _checksize(const InternalVector &vct1, const InternalVector::size_type s2)
Definition: boostvector.hh:403
maal::abstract::Matrix::inverse
Matrix inverse(void) const
matrixNxP
boost_ublas::matrix< double > matrixNxP
Definition: matrixabstractlayerboost.hh:124
maal::abstract::Matrix::min
FloatType min(void) const
maal::abstract::Vector::operator-
friend Vector operator-(const Vector &v1, const Vector &v2)
maal::boost::CPP
@ CPP
Definition: boostmacros.hh:103
VRAWDATA
#define VRAWDATA(x)
Definition: boostmacros.hh:60
maal::boost::Vector::autoresize
bool autoresize(void)
Definition: boostvector.hh:386
maal::boost::Matrix::staticMatrix
InternalMatrix staticMatrix
Definition: boostmatrix.hh:66
maal::boost::Vector::substraction
Vector substraction(const Vector &v2) const
Definition: boostvector.hh:266
maal::boost::Vector::substraction
static Vector & substraction(const Vector &v1, const Vector &v2, Vector &res)
Definition: boostvector.hh:264
maal::boost::MatrixSvd::rankJ
unsigned int rankJ
Definition: boostmatrixsvd.hh:60
maal::boost::MatrixSvd::lu
int lu
Definition: boostmatrixsvd.hh:59
maal::boost::Matrix::juxtaposeMatrix
Matrix & juxtaposeMatrix(const Matrix &, Matrix &C) const
Definition: boostmatrix.hh:755
maal::boost::Matrix::operator()
const FloatType & operator()(const int n) const
Definition: boostmatrix.hh:787
dgesvd_
void dgesvd_(char const *jobu, char const *jobvt, int const *m, int const *n, double *a, int const *lda, double *s, double *u, int const *ldu, double *vt, int const *ldvt, double *work, int const *lwork, int *info)
maal::boost::Matrix::matrix
InternalMatrix & matrix
Definition: boostmatrix.hh:68
maal::boost::Matrix::_checksizeVerb
static bool _checksizeVerb(const InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:833
maal::abstract::Matrix
Abstract Matrix class.
Definition: abstractmatrix.hh:47
maal::boost::Matrix::addition
Matrix addition(const FloatType x) const
Definition: boostmatrix.hh:599
jrlMathTools::Matrix3x3
maal::abstract::Matrix::dampedInverse
Matrix & dampedInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *U=NULL, Matrix *S=NULL, Matrix *V=NULL) const
maal::boost::Vector::scalarProduct
static FloatType scalarProduct(const Vector &v1, const Vector &v2)
Scalar product: v1.v2 = sum( x1*x2 ).
Definition: boostvector.hh:185
maal::boost::Matrix::operator/
friend Matrix operator/(const FloatType x, const Matrix &m1)
Definition: boostmatrix.hh:798
vector4.hh
maal::abstract::Matrix::operator+
friend Matrix operator+(const Matrix &m1, const Matrix &m2)
maal::boost::Matrix::division
Matrix division(const FloatType x) const
Definition: boostmatrix.hh:631
maal::abstract::Matrix::operator-
friend Matrix operator-(const Matrix &m1, const Matrix &m2)
maal::boost::Matrix::multiply
Vector & multiply(const Vector &v, Vector &res) const
Definition: boostmatrix.hh:548
maal::boost::Vector::Vector
Vector(const Vector &copy)
Build a new internal vector from existing boost vector object by copying the data.
Definition: boostvector.hh:92
vector4d
V3D vector4d
Definition: matrixabstractlayert3d.hh:115
maal::boost::Matrix::nbCols
unsigned int nbCols(void) const
Get the number of columns.
Definition: boostmatrix.hh:141
maal::boost::Matrix::operator<<
friend std::ostream & operator<<(std::ostream &os, const Matrix &m1)
Definition: boostmatrix.hh:806
matrixabstractlayerboost.hh
dgesvd_
void dgesvd_(char const *jobu, char const *jobvt, int const *m, int const *n, double *a, int const *lda, double *s, double *u, int const *ldu, double *vt, int const *ldvt, double *work, int const *lwork, int *info)
maal::boost::Vector::extract
Vector extract(const InternalVector::size_type top, const InternalVector::size_type nbrows) const
Extract a part of the vector.
Definition: boostvector.hh:331
maal::boost::Vector::_checksizeVerb
static bool _checksizeVerb(const InternalVector &vct1, const InternalVector &vct2)
Definition: boostvector.hh:393
maal::boost::Matrix::stackMatrix
Matrix & stackMatrix(const Matrix &, Matrix &C) const
Definition: boostmatrix.hh:750
maal::boost::SIMPLE
@ SIMPLE
Definition: boostmacros.hh:101
maal::boost::Matrix::_checksizeSquareVerb
static bool _checksizeSquareVerb(const InternalMatrix &mat1)
Definition: boostmatrix.hh:904
vector3d
V3D vector3d
Definition: matrixabstractlayert3d.hh:75
maal::abstract::Matrix::pseudoInverse
Matrix & pseudoInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Matrix *Sref=NULL, Matrix *Vref=NULL) const
maal::boost::Matrix::norm1
FloatType norm1(void) const
Norm 1 sum( |xi| )
Definition: boostmatrix.hh:205
configmal.hh
maal::abstract::Matrix::resize
Matrix & resize(const unsigned int nbRows, const unsigned int nbCols, const bool setZero=true)
maal::boost::Vector::multiply
Vector & multiply(const FloatType x, Vector &res) const
Definition: boostvector.hh:242
jrlMathTools::Vector3D
maal::boost::Matrix::substraction
friend Matrix & substraction(const Matrix &A, const FloatType x, Matrix &C)
Definition: boostmatrix.hh:613
maal::boost::Vector::size
unsigned int size(void) const
Definition: boostvector.hh:120
matrixabstractlayersmall.hh
maal::boost::Vector::norm1
FloatType norm1(void) const
Norm 1 sum( |xi| )
Definition: boostvector.hh:164
maal::boost::Matrix::sumSquare
FloatType sumSquare(void) const
Not implemented yet.
Definition: boostmatrix.hh:212
maal::boost::Matrix::operator()
FloatType & operator()(const int n)
Definition: boostmatrix.hh:788
matrix4d
T3D matrix4d
Definition: matrixabstractlayert3d.hh:34
maal::boost::Vector::fill
Vector & fill(const FloatType value)
Definition: boostvector.hh:132
maal::boost::Vector::opposite
Vector & opposite(Vector &res) const
Definition: boostvector.hh:142
maal::boost::Matrix::elementAt
FloatType & elementAt(const int row, const int col)
Definition: boostmatrix.hh:693
maal::abstract::Matrix::operator+=
Matrix & operator+=(const Matrix &m1)
matrixabstractlayercheck.hh
maal::abstract::Matrix::operator*
friend Matrix operator*(const Matrix &m1, const Matrix &m2)
maal::abstract::Matrix::juxtaposeMatrix
Matrix & juxtaposeMatrix(const Matrix &B, Matrix &C) const
maal::boost::Vector::accessToMotherLib
InternalVector & accessToMotherLib(void)
Access to the boost internal vector.
Definition: boostvector.hh:104
maal::boost::Vector::multiply
Vector multiply(const FloatType x) const
Definition: boostvector.hh:240
maal::abstract::Matrix::trace
FloatType trace(void) const
maal::boost::MatrixSvd::MatrixSvd
MatrixSvd(const unsigned int rows=0, const unsigned int cols=0)
Definition: boostmatrixsvd.hh:64
maal::abstract::Vector::initFromMotherLib
Vector & initFromMotherLib(const InternalVector &bv)
jrlMathTools::Vector4D
maal::abstract::Vector::elementAt
const FloatType & elementAt(const unsigned int row) const
maal::boost::Matrix::opposite
Matrix opposite(void) const
Compute the opposite of the matrix -M.
Definition: boostmatrix.hh:515
maal::boost::Matrix::operator-=
Matrix & operator-=(const Matrix &m1)
Definition: boostmatrix.hh:777
maal::boost::MatrixSvd::nminor
size_t nminor
Definition: boostmatrixsvd.hh:49
maal::boost::Matrix::substraction
Matrix substraction(const FloatType x) const
Definition: boostmatrix.hh:615
maal::boost::MatrixSvd::nmajor
size_t nmajor
Definition: boostmatrixsvd.hh:49
maal::boost::Matrix::substraction
friend Matrix & substraction(const Matrix &A, const Matrix &B, Matrix &C)
Definition: boostmatrix.hh:570
maal::abstract::Matrix::transpose
Matrix transpose(void) const
maal::abstract::Vector::operator+
friend Vector operator+(const Vector &v1, const Vector &v2)
maal::boost::Vector::dynamicVector
InternalVector * dynamicVector
Definition: boostvector.hh:61
maal::boost::Matrix::elementAt
FloatType & elementAt(const int elmt)
Definition: boostmatrix.hh:707
maal::abstract::Matrix::setDiagonal
Matrix & setDiagonal(const Vector &vector)
maal::boost::Matrix::multiply
Vector multiply(const Vector &v) const
Definition: boostmatrix.hh:546
maal::abstract::Vector::size
unsigned int size(void) const
maal::abstract::Vector::operator=
Vector & operator=(const Vector &v1)
maal::boost::Vector::_checksizeVerb
static bool _checksizeVerb(const InternalVector &vct1, const InternalVector::size_type s2)
Definition: boostvector.hh:405
maal::boost::Vector::addition
static Vector & addition(const Vector &v1, const Vector &v2, Vector &res)
Definition: boostvector.hh:251
maal::boost::Vector::operator()
const FloatType & operator()(const InternalVector::size_type i) const
Definition: boostvector.hh:363
maal::boost::Matrix::multiply
Matrix & multiply(const FloatType x, Matrix &C) const
Definition: boostmatrix.hh:590
maal::boost::Vector::addition
Vector addition(const Vector &v2) const
Definition: boostvector.hh:253
maal::boost::Matrix::dynamicMatrix
InternalMatrix * dynamicMatrix
Definition: boostmatrix.hh:67
maal::boost::MatrixSvd::w
mutable ::boost::numeric::ublas::vector< double > w
Definition: boostmatrixsvd.hh:56
maal::boost::Matrix::extract
Matrix & extract(const int top, const int left, const int nbrows, const int nbcols, Matrix &C) const
Definition: boostmatrix.hh:670
maal::abstract::Vector::operator-=
Vector & operator-=(const Vector &v1)
maal::boost::Vector::resize
Vector & resize(const InternalVector::size_type nbRows, const bool setZero=true)
Definition: boostvector.hh:126
constants.hh
maal::abstract::Matrix::operator>>
friend std::istream & operator>>(std::istream &is, Matrix &v1)
maal::boost::Vector::operator<<
friend std::ostream & operator<<(std::ostream &os, const Vector &v1)
Definition: boostvector.hh:370
maal::boost::Matrix::operator>>
friend std::istream & operator>>(std::istream &is, Matrix &v1)
Definition: boostmatrix.hh:810
maal::boost::Vector::elementAt
FloatType & elementAt(const InternalVector::size_type row)
Access to the i-th element in RW-mode.
Definition: boostvector.hh:308
maal::abstract::Matrix::stackMatrix
Matrix & stackMatrix(const Matrix &B, Matrix &C) const
matrixabstractlayervector4jrlmath.hh
maal::boost::Matrix::division
Matrix & division(const FloatType x, Matrix &C) const
Definition: boostmatrix.hh:634
maal::boost::Matrix::_checksizeProdVerb
static bool _checksizeProdVerb(const InternalMatrix &mat1, const InternalMatrix &mat2)
Definition: boostmatrix.hh:862
maal::abstract::Matrix::operator-=
Matrix & operator-=(const Matrix &m1)
maal::boost::Matrix::substraction
Matrix & substraction(const FloatType x, Matrix &C) const
Definition: boostmatrix.hh:617
maal::abstract::Vector::crossProduct
static Vector & crossProduct(const Vector &v1, const Vector &v2, Vector &res)
maal::boost::Matrix::trace
FloatType trace(void) const
Not implemented yet.
Definition: boostmatrix.hh:196
maal::boost::Matrix::resize
Matrix & resize(const unsigned int nbRows, const unsigned int nbCols, const bool setZero=true)
Definition: boostmatrix.hh:128
maal::abstract::Matrix::normInfty
FloatType normInfty(void) const
maal::boost::Matrix::Matrix
Matrix(const Matrix &copy)
Build a new internal vector from existing boost vector object by copying the data.
Definition: boostmatrix.hh:101
maal::boost::Vector::operator*=
Vector & operator*=(const Vector &v1)
Definition: boostvector.hh:361
maal::boost::MatrixSvd::nbrows
size_t nbrows
Definition: boostmatrixsvd.hh:49
maal::boost::Matrix::division
friend Matrix & division(const Matrix &A, const FloatType x, Matrix &C)
Definition: boostmatrix.hh:629
maal::abstract::Vector::sumSquare
FloatType sumSquare(void) const
maal::boost::Vector::_checksize
static bool _checksize(const InternalVector &vct1, const InternalVector &vct2)
Definition: boostvector.hh:391
maal::boost::Matrix::dampedInverse
virtual Matrix & dampedInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Vector *Sref=NULL, Matrix *Vref=NULL) const
Compute the pseudo-inverse of the matrix.
Definition: boostmatrix.hh:396
maal::boost::Matrix::getDiagonal
Vector & getDiagonal(Vector &vector) const
Definition: boostmatrix.hh:730
maal::boost::Vector::staticVector
InternalVector staticVector
Definition: boostvector.hh:60
maal::boost::MatrixSvd::dampedInverse
virtual Matrix & dampedInverse(Matrix &invMatrix, const FloatType threshold=1e-6, Matrix *Uref=NULL, Vector *Sref=NULL, Matrix *Vref=NULL) const
Compute the pseudo-inverse of the matrix.
Definition: boostmatrixsvd.hh:224
maal::abstract::Matrix::operator/
friend Matrix operator/(const FloatType x, const Matrix &m1)
matrixabstractlayert3d.hh
maal::boost::MatrixSvd::McolMajor
mutable ::boost::numeric::ublas::matrix< FloatType,::boost::numeric::ublas::column_major > McolMajor
Definition: boostmatrixsvd.hh:52
maal::boost::MatrixSvd::lw
int lw
Definition: boostmatrixsvd.hh:58
maal::boost::Matrix::inverse
Matrix inverse(void) const
Definition: boostmatrix.hh:269
maal::boost::MatrixSvd::lvt
int lvt
Definition: boostmatrixsvd.hh:59
maal::boost::Matrix::InternalMatrix
::boost::numeric::ublas::matrix< FloatType > InternalMatrix
Definition: boostmatrix.hh:65
matrixabstractlayerdoc.hh
maal::boost::Vector
Vector class that include the boost::ublas::vector.
Definition: boostvector.hh:55
maal::abstract::Vector::opposite
Vector & opposite(void) const
maal::boost::Vector::datablock
const FloatType * datablock(void) const
Access to the C-style double matrix.
Definition: boostvector.hh:289
maal::boost::Vector::setZero
Vector & setZero(void)
Definition: boostvector.hh:137
maal::boost::Matrix::inverse
Matrix & inverse(Matrix &invMatrix) const
Compute the inverse of the matrix.
Definition: boostmatrix.hh:242
maal::boost::Matrix::accessToMotherLib
const InternalMatrix & accessToMotherLib(void) const
Access to the boost internal vector.
Definition: boostmatrix.hh:116
maal::abstract::Vector::operator()
const FloatType & operator()(const unsigned int i) const
maal::boost::Vector::~Vector
virtual ~Vector(void)
Definition: boostvector.hh:97
maal::boost::Matrix::transpose
Matrix transpose(void) const
Definition: boostmatrix.hh:230
maal
Compehensive namespace of the second version of the MAAL.
Definition: abstract.hh:38
maal::boost::Matrix::addition
Matrix & addition(const FloatType x, Matrix &C) const
Definition: boostmatrix.hh:601
maal::abstract::Matrix::accessToMotherLib
InternalMatrix & accessToMotherLib(void)
maal::abstract::Vector::addition
static Vector & addition(const Vector &v1, const Vector &v2, Vector &res)
maal::abstract::Matrix::nbCols
unsigned int nbCols(void) const
maal::boost::Vector::operator-=
Vector & operator-=(const Vector &v1)
Definition: boostvector.hh:360
maal::boost::Matrix::Matrix
Matrix(InternalMatrix *clone, const bool proprio=false)
Build only the capsule around a already existing boost vector object.
Definition: boostmatrix.hh:93
vectorN
boost_ublas::vector< double > vectorN
maal::abstract::Matrix::addition
friend Matrix & addition(const Matrix &A, const Matrix &B, Matrix &C)
maal::abstract::Vector::operator+=
Vector & operator+=(const Vector &v1)
maal::boost::Vector::operator=
Vector & operator=(const Vector &v1)
Definition: boostvector.hh:365
maal::boost::Vector::addition
Vector & addition(const Vector &v2, Vector &res) const
Definition: boostvector.hh:255
maal::boost::setDisplayType
DisplayType setDisplayType(const DisplayType type, const bool read=false)
Modify the display type.
Definition: boostmacros.hh:108
vector3.hh