cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
vctDeterminant< _size > Class Template Reference

Determinant function for fixed size matrices. More...

#include <vctDeterminant.h>

Public Types

enum  { SIZE = _size }
 

Static Public Member Functions

template<vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
static _elementType Compute (const vctFixedSizeConstMatrixBase< _size, _size, _rowStride, _colStride, _elementType, _dataPtrType > &matrix)
 

Detailed Description

template<vct::size_type _size>
class vctDeterminant< _size >

Determinant function for fixed size matrices.

Compute the determinant of a fixed size square matrix. This templated class is currently specialized for matrices of size 1 by 1, 2 by 2 or 3 by 3.

Parameters
_sizeThe size of the square matrix

Member Enumeration Documentation

template<vct::size_type _size>
anonymous enum
Enumerator
SIZE 

Member Function Documentation

template<vct::size_type _size>
template<vct::stride_type _rowStride, vct::stride_type _colStride, class _elementType , class _dataPtrType >
static _elementType vctDeterminant< _size >::Compute ( const vctFixedSizeConstMatrixBase< _size, _size, _rowStride, _colStride, _elementType, _dataPtrType > &  matrix)
static

Actually compute the determinant of the matrix.

Parameters
matrixA fixed size square matrix

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