Invert a matrix. More...
Functions | |
AFAPI array | inverse (const array &in, const matProp options=AF_MAT_NONE) |
C++ Interface to invert a matrix. More... | |
AFAPI af_err | af_inverse (af_array *out, const af_array in, const af_mat_prop options) |
C Interface to invert a matrix. More... | |
Invert a matrix.
This function inverts a square matrix \(A\). The code snippet to demonstrate this can be seen below.
The sample output can be seen below.
AFAPI af_err af_inverse | ( | af_array * | out, |
const af_array | in, | ||
const af_mat_prop | options | ||
) |
C Interface to invert a matrix.
The options
parameter currently must be AF_MAT_NONE.
[out] | out | inverse matrix |
[in] | in | input matrix |
[in] | options | determines various properties of matrix in |
AFAPI array inverse | ( | const array & | in, |
const matProp | options = AF_MAT_NONE |
||
) |
C++ Interface to invert a matrix.
The options
parameter currently must be AF_MAT_NONE.
This function is not supported in GFOR.
[in] | in | input matrix |
[in] | options | determines various properties of matrix in |