|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
Go to the documentation of this file.
38 #define SVD_COMPUTE_NEGLIGIBLE_VALUES 1
43 #define SVD_SPLIT_AT_NEGLIGIBLE_VALUES 2
53 #define SVD_ORDER_ABSOLUTE_SING_VALUES 4
75 uint8_t u_m, uint8_t u_n,
matrix_t U[u_m][u_n],
77 uint8_t sing_vec_length,
matrix_t singl_values_vec[]);
void svd_get_V_dim(uint8_t m, uint8_t n, matrix_dim_t *v_dim)
Calculate the dimension of the matrix V.
void svd(uint8_t m, uint8_t n, matrix_t A[m][n], uint8_t u_m, uint8_t u_n, matrix_t U[u_m][u_n], matrix_t S[u_n][n], matrix_t V[n][n], uint8_t sing_vec_length, matrix_t singl_values_vec[])
Compute the Singular-Value Decomposition (SVD) of a matrix.
void svd_get_S_dim(uint8_t m, uint8_t n, matrix_dim_t *s_dim)
Calculate the dimension of the matrix S.
void svd_compute_print_U_S_V_s(uint8_t m, uint8_t n, matrix_t matrix_arr[m][n], uint8_t i)
Compute and print the SVD of a matrix.
A structure to define the row and column number of a matrix.
uint8_t svd_get_single_values_num(uint8_t m, uint8_t n)
Calculate the number of the singular values.
void svd_get_reciproc_singular_values(uint8_t m, uint8_t n, uint8_t length, matrix_t singl_values_arr[], matrix_t recip_singl_values_arr[])
Compute the reciprocal singular values.
#define matrix_t
Define the data type of the matrix elements.
void svd_get_U_dim(uint8_t m, uint8_t n, matrix_dim_t *u_dim)
Calculate the dimension of the matrix U.