DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions
DGtal::SimpleMatrixSpecializations< TMatrix, 3, 3 > 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 (3==TMatrix::M)
 
 BOOST_STATIC_ASSERT (3==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)
 

Detailed Description

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

Aim:

Description of template class 'SimpleMatrixSpecializations'

Definition at line 197 of file SimpleMatrixSpecializations.h.

Member Typedef Documentation

◆ Component

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

Definition at line 202 of file SimpleMatrixSpecializations.h.

◆ Matrix

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

Definition at line 203 of file SimpleMatrixSpecializations.h.

Member Function Documentation

◆ BOOST_STATIC_ASSERT() [1/2]

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

◆ BOOST_STATIC_ASSERT() [2/2]

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

◆ determinant()

template<typename TMatrix >
static Component DGtal::SimpleMatrixSpecializations< TMatrix, 3, 3 >::determinant ( const Matrix M)
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, 3, 3 >::minorDeterminant ( const Matrix M,
const DGtal::Dimension  i,
const DGtal::Dimension  j 
)
static

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

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

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