Performs singular value decomposition of ( ) matrix .
- Parameters
-
src | pointer to input matrix stored in column major order. After finish of work src will be filled with rows of or not modified (depends of flag CV_HAL_SVD_MODIFY_A). |
src_step | number of bytes between two consequent columns of matrix . |
w | pointer to array for singular values of matrix (i. e. first diagonal elements of matrix ). |
u | pointer to output or matrix (size depends of flags). Pointer must be valid if flag CV_HAL_SVD_MODIFY_A not used. |
u_step | number of bytes between two consequent rows of matrix . |
vt | pointer to array for matrix . |
vt_step | number of bytes between two consequent rows of matrix . |
m | number fo rows in matrix . |
n | number of columns in matrix . |
flags | algorithm options (combination of CV_HAL_SVD_FULL_UV, ...). |
|
int | hal_ni_SVD32f (float *src, size_t src_step, float *w, float *u, size_t u_step, float *vt, size_t vt_step, int m, int n, int flags) |
|
int | hal_ni_SVD64f (double *src, size_t src_step, double *w, double *u, size_t u_step, double *vt, size_t vt_step, int m, int n, int flags) |
|
◆ hal_ni_SVD32f()
int hal_ni_SVD32f |
( |
float * | src, |
|
|
size_t | src_step, |
|
|
float * | w, |
|
|
float * | u, |
|
|
size_t | u_step, |
|
|
float * | vt, |
|
|
size_t | vt_step, |
|
|
int | m, |
|
|
int | n, |
|
|
int | flags ) |
|
inline |
◆ hal_ni_SVD64f()
int hal_ni_SVD64f |
( |
double * | src, |
|
|
size_t | src_step, |
|
|
double * | w, |
|
|
double * | u, |
|
|
size_t | u_step, |
|
|
double * | vt, |
|
|
size_t | vt_step, |
|
|
int | m, |
|
|
int | n, |
|
|
int | flags ) |
|
inline |