Data Structures | |
struct | mirml_nr_jtsm_t_ |
Structure for Jacobi transformations of symmetric matrices. More... | |
Typedefs | |
typedef struct mirml_nr_jtsm_t_ | mirml_nr_jtsm_t |
Structure for Jacobi transformations of symmetric matrices. | |
Functions | |
mirkl_error_t * | mirml_nr_jtsm_init (mirml_nr_jtsm_t **jtsm) |
Allocation and initialization of JTSM structure. | |
void | mirml_nr_jtsm_free (mirml_nr_jtsm_t *jtsm) |
Deallocates JTSM structure and its content. More... | |
mirkl_error_t * | mirml_nr_jtsm_compute (mirml_matrix_t *inp, mirkl_size_t i0, mirkl_size_t j0, mirkl_size_t cn, mirml_nr_jtsm_t *jtsm) |
Computes all eigenvalues and eigenvectors of a real symmetric square matrix by Jacobi's method. More... | |
mirkl_error_t * mirml_nr_jtsm_compute | ( | mirml_matrix_t * | inp, |
mirkl_size_t | i0, | ||
mirkl_size_t | j0, | ||
mirkl_size_t | cn, | ||
mirml_nr_jtsm_t * | jtsm | ||
) |
Computes all eigenvalues and eigenvectors of a real symmetric square matrix by Jacobi's method.
[in] | inp | Input real symmetric matrix. |
[in] | i0 | Starting row index, from which the input matrix should be processed. |
[in] | j0 | Starting column index, from which the input matrix should be processed. |
[in] | cn | Custom number of rows and columns in input matrix to be processed. All rows and columns of input matrix starting from (i0,j0) will be processed if cn is 0. |
[in] | jtsm | Initialized structure for Jacobi's method. Contains results on output. |
void mirml_nr_jtsm_free | ( | mirml_nr_jtsm_t * | jtsm | ) |
Deallocates JTSM structure and its content.