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

Aim:

Description of template class 'SimpleMatrixSpecializations'

Definition at line 112 of file SimpleMatrixSpecializations.h.

Member Typedef Documentation

◆ Component

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

Definition at line 117 of file SimpleMatrixSpecializations.h.

◆ Matrix

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

Definition at line 118 of file SimpleMatrixSpecializations.h.

Member Function Documentation

◆ BOOST_STATIC_ASSERT() [1/2]

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

◆ BOOST_STATIC_ASSERT() [2/2]

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

◆ determinant()

template<typename TMatrix >
static Component DGtal::SimpleMatrixSpecializations< TMatrix, 2, 2 >::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, 2, 2 >::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: