Performs decomposition of square matrix (where is permutation matrix) and solves matrix equation . Function returns the of permutation via parameter info.
- Parameters
-
src1 | pointer to input matrix stored in row major order. After finish of work src1 contains at least part of decomposition which is appropriate for determainant calculation: . |
src1_step | number of bytes between two consequent rows of matrix . |
m | size of square matrix . |
src2 | pointer to matrix which is the right-hand side of system . stored in row major order. If src2 is null pointer only decomposition will be performed. After finish of work src2 contains solution of system . |
src2_step | number of bytes between two consequent rows of matrix . |
n | number of right-hand vectors in matrix . |
info | indicates success of decomposition. If *info is equals to zero decomposition failed, othervise *info is equals to . |
|
int | hal_ni_LU32f (float *src1, size_t src1_step, int m, float *src2, size_t src2_step, int n, int *info) |
|
int | hal_ni_LU64f (double *src1, size_t src1_step, int m, double *src2, size_t src2_step, int n, int *info) |
|
◆ hal_ni_LU32f()
int hal_ni_LU32f |
( |
float * | src1, |
|
|
size_t | src1_step, |
|
|
int | m, |
|
|
float * | src2, |
|
|
size_t | src2_step, |
|
|
int | n, |
|
|
int * | info ) |
|
inline |
◆ hal_ni_LU64f()
int hal_ni_LU64f |
( |
double * | src1, |
|
|
size_t | src1_step, |
|
|
int | m, |
|
|
double * | src2, |
|
|
size_t | src2_step, |
|
|
int | n, |
|
|
int * | info ) |
|
inline |