52template<
class Matrix,
int Size_>
55 typedef typename Matrix::Type
Type;
284 if (!decomp.
run())
return Type(0);
294template<
class Matrix,
int Size_>
297 typedef typename Matrix::Type
Type;
300 switch (
m.sizeRows())
312template<
class Matrix>
315 typedef typename Matrix::Type
Type;
320template<
class Matrix>
323 typedef typename Matrix::Type
Type;
328template<
class Matrix>
331 typedef typename Matrix::Type
Type;
336template<
class Matrix>
339 typedef typename Matrix::Type
Type;
In this file we define the Svd Class.
In this file we define the enclosing class of the dgeqrf lapack routine.
virtual bool run()
implement the run method
OtherArray & ginv(OtherArray &res) const
Compute the generalized inverse of the matrix and put the result in res.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
static Type invertMatrix44(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 4x4 matrix m and store the result in inv.
static Type invertMatrix33(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 3x3 matrix m and store the result in inv.
static Type invertMatrix11(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 1x1 matrix and store the result in inv.
static Type invertMatrix22(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 2x2 matrix m and store the result in inv.
static Type invertMatrixXX(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the matrix m and store the result in inv.
The namespace STK is the main domain space of the Statistical ToolKit project.
static Type run(Matrix const &m, CArraySquare< Type, 1 > &inv)
static Type run(Matrix const &m, CArraySquare< Type, 2 > &inv)
static Type run(Matrix const &m, CArraySquare< Type, 3 > &inv)
static Type run(Matrix const &m, CArraySquare< Type, 4 > &inv)
computing the inverse of a matrix.
static Type run(Matrix const &m, CArraySquare< Type, Size_ > &inv)
Implementation of the inversion matrix method for general/square matrices.