Defines | Functions
core/vnl/algo/vnl_determinant.txx File Reference
#include "vnl_determinant.h"
#include <vcl_cassert.h>
#include <vnl/algo/vnl_qr.h>

Go to the source code of this file.

Defines

#define vnl_algo_determinant_txx_
#define VNL_DETERMINANT_INSTANTIATE_1(T)
#define VNL_DETERMINANT_INSTANTIATE_2(T)   template 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.
template<class T >
vnl_determinant (T const *row0, T const *row1, T const *row2)
 direct evaluation for 3x3 matrix.
template<class T >
vnl_determinant (T const *row0, T const *row1, T const *row2, T const *row3)
 direct evaluation for 4x4 matrix.
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.

Define Documentation

#define vnl_algo_determinant_txx_

Definition at line 2 of file vnl_determinant.txx.

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

Definition at line 150 of file vnl_determinant.txx.

#define VNL_DETERMINANT_INSTANTIATE_1 (   T)
Value:
template T vnl_determinant(T const *, T const *); \
template T vnl_determinant(T const *, T const *, T const *); \
template T vnl_determinant(T const *, T const *, T const *, T const *)

Definition at line 141 of file vnl_determinant.txx.

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

Definition at line 146 of file vnl_determinant.txx.


Function Documentation

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

direct evaluation for 2x2 matrix.

Definition at line 13 of file vnl_determinant.txx.

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

direct evaluation for 3x3 matrix.

Definition at line 19 of file vnl_determinant.txx.

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 31 of file vnl_determinant.txx.

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 63 of file vnl_determinant.txx.