Functions
core/vnl/algo/vnl_adjugate.h File Reference

Go to the source code of this file.

Functions

template<class T >
void vnl_adjugate (vnl_matrix< T > const &A, vnl_matrix< T > *out)
template<class T >
vnl_matrix< T > vnl_adjugate (vnl_matrix< T > const &A)

Detailed Description

Author:
fsm and Peter Vanroose The adjoint matrix of a square matrix, sometimes also called the adjugate matrix (although that name is also used for the transpose of the complex conjugate), is defined as the matrix whose (i,k)-th entry is the cofactor of the (k,i)-th entry of the given matrix. The cofactor of entry (k,i) is the determinant of the matrix obtained by deleting row k and column i from the given matrix.

The adjugate matrix is useful in finding the inverse of a square matrix since det(A) * A_inverse = A_adj.

In contrast to the inverse matrix, however, calculating the adjoint matrix does not involve divisions, so the adjoint of an integer matrix is integer.

Definition in file vnl_adjugate.h.


Function Documentation

template<class T >
void vnl_adjugate ( vnl_matrix< T > const &  A,
vnl_matrix< T > *  out 
)

Definition at line 22 of file vnl_adjugate.txx.

template<class T >
vnl_matrix<T> vnl_adjugate ( vnl_matrix< T > const &  A)

Definition at line 40 of file vnl_adjugate.txx.