|
|
Invert a matrix. More...
Functions | |
| AFAPI array | inverse (const array &in, const matProp options=AF_MAT_NONE) |
| C++ Interface for inverting a matrix. More... | |
| AFAPI af_err | af_inverse (af_array *out, const af_array in, const af_mat_prop options) |
| C Interface for inverting 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 for inverting a matrix.
| [out] | out | will contain the inverse of matrix in |
| [in] | in | is input matrix |
| [in] | options | determining various properties of matrix in |
| AFAPI array af::inverse | ( | const array & | in, |
| const matProp | options = AF_MAT_NONE |
||
| ) |
C++ Interface for inverting a matrix.
| [in] | in | is input matrix |
| [in] | options | determining various properties of matrix in |
x, the inverse of the input matrixoptions currently needs to be AF_MAT_NONE