Macros | Functions
vnl_determinant.hxx File Reference
#include "vnl_determinant.h"
#include <cassert>
#include <vnl/algo/vnl_qr.h>

Go to the source code of this file.

Macros

#define VNL_DETERMINANT_INSTANTIATE_1(T)
 
#define VNL_DETERMINANT_INSTANTIATE_2(T)   template VNL_ALGO_EXPORT T vnl_determinant(vnl_matrix<T > const &, bool)
 
#define VNL_DETERMINANT_INSTANTIATE(T)
 

Functions

template<class T >
vnl_determinant (T const *row0, T const *row1)
 direct evaluation for 2x2 matrix. More...
 
template<class T >
vnl_determinant (T const *row0, T const *row1, T const *row2)
 direct evaluation for 3x3 matrix. More...
 
template<class T >
vnl_determinant (T const *row0, T const *row1, T const *row2, T const *row3)
 direct evaluation for 4x4 matrix. More...
 
template<class T >
vnl_determinant (vnl_matrix< T > const &M, bool balance)
 evaluation using direct methods for sizes of 2x2, 3x3, and 4x4 or qr decomposition for other matrices. More...
 

Macro Definition Documentation

◆ VNL_DETERMINANT_INSTANTIATE

#define VNL_DETERMINANT_INSTANTIATE (   T)
Value:
VNL_DETERMINANT_INSTANTIATE_2(T)
#define VNL_DETERMINANT_INSTANTIATE_1(T)

Definition at line 123 of file vnl_determinant.hxx.

◆ VNL_DETERMINANT_INSTANTIATE_1

#define VNL_DETERMINANT_INSTANTIATE_1 (   T)
Value:
template VNL_ALGO_EXPORT T vnl_determinant(T const *, T const *); \
template VNL_ALGO_EXPORT T vnl_determinant(T const *, T const *, T const *); \
template VNL_ALGO_EXPORT T vnl_determinant(T const *, T const *, T const *, T const *)
T vnl_determinant(vnl_matrix< T > const &M, bool balance=false)
evaluation using direct methods for sizes of 2x2, 3x3, and 4x4 or qr decomposition for other matrices...

Definition at line 114 of file vnl_determinant.hxx.

◆ VNL_DETERMINANT_INSTANTIATE_2

#define VNL_DETERMINANT_INSTANTIATE_2 (   T)    template VNL_ALGO_EXPORT T vnl_determinant(vnl_matrix<T > const &, bool)

Definition at line 119 of file vnl_determinant.hxx.

Function Documentation

◆ vnl_determinant() [1/4]

template<class T >
T vnl_determinant ( T const *  row0,
T const *  row1 
)

direct evaluation for 2x2 matrix.

Definition at line 16 of file vnl_determinant.hxx.

◆ vnl_determinant() [2/4]

template<class T >
T vnl_determinant ( T const *  row0,
T const *  row1,
T const *  row2 
)

direct evaluation for 3x3 matrix.

Definition at line 22 of file vnl_determinant.hxx.

◆ vnl_determinant() [3/4]

template<class T >
T vnl_determinant ( T const *  row0,
T const *  row1,
T const *  row2,
T const *  row3 
)

direct evaluation for 4x4 matrix.

Definition at line 34 of file vnl_determinant.hxx.

◆ vnl_determinant() [4/4]

template<class T >
T vnl_determinant ( vnl_matrix< T > const &  M,
bool  balance 
)

evaluation using direct methods for sizes of 2x2, 3x3, and 4x4 or qr decomposition for other matrices.

Definition at line 66 of file vnl_determinant.hxx.