Documentation
|
|
Inverse of a given matrix. More...
Modules | |
| af_norm | |
| Calculate the norm of a vector. | |
Device pointer interface: Matrix inversion | |||||||||||||
See also Linear Algebra
| |||||||||||||
| afError | af_inverse_S (float *out, unsigned n, float *d_in, unsigned batch) | ||||||||||||
| Inversion of single precision matrix. DLA license required. More... | |||||||||||||
| afError | af_inverse_C (cfloat *out, unsigned n, cfloat *d_in, unsigned batch) | ||||||||||||
| Inversion of single precision complex matrix. DLA license required. More... | |||||||||||||
| afError | af_inverse_D (double *out, unsigned n, double *d_in, unsigned batch) | ||||||||||||
| Inversion of double precision matrix. DLA license required. More... | |||||||||||||
| afError | af_inverse_Z (cdouble *out, unsigned n, cdouble *d_in, unsigned batch) | ||||||||||||
| Inversion of double precision complex matrix. DLA license required. More... | |||||||||||||
Device pointer interface: Matrix determinant | ||||||||||||||||
| ||||||||||||||||
| afError | af_det_S (float *res, unsigned n, float *d_X, bool inplace, unsigned batch) | |||||||||||||||
| Determinant of single precision matrix. DLA license not required. More... | ||||||||||||||||
| afError | af_det_C (cfloat *res, unsigned n, cfloat *d_X, bool inplace, unsigned batch) | |||||||||||||||
| Determinant of single precision complex matrix. DLA license required. More... | ||||||||||||||||
| afError | af_det_D (double *res, unsigned n, double *d_X, bool inplace, unsigned batch) | |||||||||||||||
| Determinant of double precision matrix. DLA license required. More... | ||||||||||||||||
| afError | af_det_Z (cdouble *res, unsigned n, cdouble *d_X, bool inplace, unsigned batch) | |||||||||||||||
| Determinant of double precision complex matrix. DLA license required. More... | ||||||||||||||||
Device pointer interface: Matrix power | |||||||||||||||||||
See also Linear Algebra
| |||||||||||||||||||
| afError | af_matrixPower_S (void **d_out, unsigned n, const float *d_in, float power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
| Matrix power for single precision matrix. More... | |||||||||||||||||||
| afError | af_matrixPower_C (void **d_out, unsigned n, const cfloat *d_in, float power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
| Matrix power for single precision, complex matrix. DLA license required. More... | |||||||||||||||||||
| afError | af_matrixPower_D (void **d_out, unsigned n, const double *d_in, double power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
| Matrix power for double precision matrix. DLA license required. More... | |||||||||||||||||||
| afError | af_matrixPower_Z (void **d_out, unsigned n, const cdouble *d_in, double power, unsigned batch, bool *is_cplx) | ||||||||||||||||||
| Matrix power for double precision, complex matrix. DLA license required. More... | |||||||||||||||||||
Inverse of a given matrix.
Integer powers of input matrix.
Determinant of an input matrix.
Requires ArrayFire Pro.
Double-precision or complex input requires ArrayFire Pro.
Double-precision or complex inputs require ArrayFire Pro.
| afError af_inverse_S | ( | float * | out, |
| unsigned | n, | ||
| float * | d_in, | ||
| unsigned | batch | ||
| ) |
Inversion of single precision matrix. DLA license required.
Inversion of single precision complex matrix. DLA license required.
| afError af_inverse_D | ( | double * | out, |
| unsigned | n, | ||
| double * | d_in, | ||
| unsigned | batch | ||
| ) |
Inversion of double precision matrix. DLA license required.
Inversion of double precision complex matrix. DLA license required.
| afError af_det_S | ( | float * | res, |
| unsigned | n, | ||
| float * | d_X, | ||
| bool | inplace, | ||
| unsigned | batch | ||
| ) |
Determinant of single precision matrix. DLA license not required.
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.
Determinant of double precision complex matrix. DLA license required.
| afError af_matrixPower_S | ( | void ** | d_out, |
| unsigned | n, | ||
| const float * | d_in, | ||
| float | power, | ||
| unsigned | batch, | ||
| bool * | is_cplx | ||
| ) |
Matrix power for single precision matrix.
DLA license not required for positive powers.
| afError af_matrixPower_C | ( | void ** | d_out, |
| unsigned | n, | ||
| const cfloat * | d_in, | ||
| float | power, | ||
| unsigned | batch, | ||
| bool * | is_cplx | ||
| ) |
Matrix power for single precision, complex matrix. DLA license required.
| afError af_matrixPower_D | ( | void ** | d_out, |
| unsigned | n, | ||
| const double * | d_in, | ||
| double | power, | ||
| unsigned | batch, | ||
| bool * | is_cplx | ||
| ) |
Matrix power for double precision matrix. DLA license required.