Do more. Code less. Free software for GPU computing.
<scroll to top>

Determinant

Matrix Operations

Determinant of an input matrix. More...

Device pointer interface: Matrix determinant

Parameters:
[out]resThe determinant of the input matrix d_X
[in]nWidth of the input matrix.
[in,out]d_XThe input matrix.
[in]inplaceInput data in d_X is destroyed if true.
[in]batchNumber of tiles of input being handled.

afError af_det_S (float *res, unsigned n, float *d_X, bool inplace, unsigned batch)
 Determinant of single precision matrix. DLA license not required.
afError af_det_C (cuComplex *res, unsigned n, cuComplex *d_X, bool inplace, unsigned batch)
 Determinant of single precision complex matrix. DLA license required.
afError af_det_D (double *res, unsigned n, double *d_X, bool inplace, unsigned batch)
 Determinant of double precision matrix. DLA license required.
afError af_det_Z (cuDoubleComplex *res, unsigned n, cuDoubleComplex *d_X, bool inplace, unsigned batch)
 Determinant of double precision complex matrix. DLA license required.

Detailed Description

Determinant of an input matrix.

Double-precision or complex input requires ArrayFire Pro.


Function Documentation

afError af_det_S ( float *  res,
unsigned  n,
float *  d_X,
bool  inplace,
unsigned  batch 
)

Determinant of single precision matrix. DLA license not required.

afError af_det_C ( cuComplex *  res,
unsigned  n,
cuComplex *  d_X,
bool  inplace,
unsigned  batch 
)

Determinant of single precision complex matrix. DLA license required.

afError af_det_D ( double *  res,
unsigned  n,
double *  d_X,
bool  inplace,
unsigned  batch 
)

Determinant of double precision matrix. DLA license required.

afError af_det_Z ( cuDoubleComplex *  res,
unsigned  n,
cuDoubleComplex *  d_X,
bool  inplace,
unsigned  batch 
)

Determinant of double precision complex matrix. DLA license required.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines