DGtal
1.5.beta
|
Aim: Implement internal matrix services for specialized matrix size. More...
#include <DGtal/math/linalg/SimpleMatrixSpecializations.h>
Public Types | |
typedef TMatrix::Component | Component |
Matrix componenets type. More... | |
typedef TMatrix | Matrix |
Matrix type. More... | |
Public Member Functions | |
BOOST_STATIC_ASSERT (TM==TMatrix::M) | |
BOOST_STATIC_ASSERT (TN==TMatrix::N) | |
Static Public Member Functions | |
static Component | minorDeterminant (const Matrix &M, const DGtal::Dimension i, const DGtal::Dimension j) |
static Component | determinant (const Matrix &M) |
Aim: Implement internal matrix services for specialized matrix size.
Description of template class 'SimpleMatrixSpecializations'
Determiant of a matrix and determinant of a minor of the matrix are specialized for 2x2 and 3x3 matrices.
TMatrix | a type of matrix |
TM | number of rows |
TN | number of columns |
Definition at line 68 of file SimpleMatrixSpecializations.h.
typedef TMatrix::Component DGtal::SimpleMatrixSpecializations< TMatrix, TM, TN >::Component |
Matrix componenets type.
Definition at line 73 of file SimpleMatrixSpecializations.h.
typedef TMatrix DGtal::SimpleMatrixSpecializations< TMatrix, TM, TN >::Matrix |
Matrix type.
Definition at line 75 of file SimpleMatrixSpecializations.h.
DGtal::SimpleMatrixSpecializations< TMatrix, TM, TN >::BOOST_STATIC_ASSERT | ( | TM | = =TMatrix::M | ) |
DGtal::SimpleMatrixSpecializations< TMatrix, TM, TN >::BOOST_STATIC_ASSERT | ( | TN | = =TMatrix::N | ) |
|
static |
Returns the determinant of square matrix. Slow method for large matrices.
|
static |
Return the minor determinant (i,j) of the current matrix
M | the matrix |
i | row index |
j | column index |