DGtal  0.9.4beta
Public Types | Public Member Functions | Static Public Member Functions
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 > Struct Template Reference

#include <DGtal/math/linalg/SimpleMatrixSpecializations.h>

Public Types

typedef TMatrix::Component Component
 
typedef TMatrix Matrix
 

Public Member Functions

 BOOST_STATIC_ASSERT (1==TMatrix::M)
 
 BOOST_STATIC_ASSERT (1==TMatrix::N)
 

Static Public Member Functions

static Component minorDeterminant (const Matrix &aM, const DGtal::Dimension i, const DGtal::Dimension j)
 
static Component determinant (const Matrix &aM)
 

Detailed Description

template<typename TMatrix>
struct DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >

Aim:

Description of template class 'SimpleMatrixSpecializations'

Definition at line 154 of file SimpleMatrixSpecializations.h.

Member Typedef Documentation

template<typename TMatrix >
typedef TMatrix::Component DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::Component

Definition at line 159 of file SimpleMatrixSpecializations.h.

template<typename TMatrix >
typedef TMatrix DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::Matrix

Definition at line 160 of file SimpleMatrixSpecializations.h.

Member Function Documentation

template<typename TMatrix >
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::BOOST_STATIC_ASSERT ( = =TMatrix::M)
template<typename TMatrix >
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::BOOST_STATIC_ASSERT ( = =TMatrix::N)
template<typename TMatrix >
static Component DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::determinant ( const Matrix aM)
static

Returns the determinant of square matrix. Slow method for large matrices.

Precondition
this must be NxN
Returns
the determinant.
template<typename TMatrix >
static Component DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::minorDeterminant ( const Matrix aM,
const DGtal::Dimension  i,
const DGtal::Dimension  j 
)
static

Return the minor determinant (i,j) of the current matrix

Parameters
aMthe matrix.
irow index
jcolumn index
Returns
the minor (i,j)

The documentation for this struct was generated from the following file: