Find the determinant of the input matrix. More...

Functions

template<typename T >
det (const array &in)
 C++ Interface for finding the determinant of a matrix. More...
 
AFAPI af_err af_det (double *det_real, double *det_imag, const af_array in)
 C Interface for finding the determinant of a matrix. More...
 

Detailed Description

Find the determinant of the input matrix.

Note
This function requires scratch space equal to the input array

Function Documentation

AFAPI af_err af_det ( double *  det_real,
double *  det_imag,
const af_array  in 
)

C Interface for finding the determinant of a matrix.

Parameters
[out]det_realwill contain the real part of the determinant of in
[out]det_imagwill contain the imaginary part of the determinant of in
[in]inis input matrix
T af::det ( const array in)

C++ Interface for finding the determinant of a matrix.

Parameters
[in]inis input matrix
Returns
the determinant of the matrix