DGtal  1.5.beta
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 > Struct Template Reference

Aim: More...

#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

◆ Component

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

Definition at line 159 of file SimpleMatrixSpecializations.h.

◆ Matrix

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

Definition at line 160 of file SimpleMatrixSpecializations.h.

Member Function Documentation

◆ BOOST_STATIC_ASSERT() [1/2]

template<typename TMatrix >
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::BOOST_STATIC_ASSERT ( = =TMatrix::M)

◆ BOOST_STATIC_ASSERT() [2/2]

template<typename TMatrix >
DGtal::SimpleMatrixSpecializations< TMatrix, 1, 1 >::BOOST_STATIC_ASSERT ( = =TMatrix::N)

◆ determinant()

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.

◆ minorDeterminant()

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: