Functions | |
vec | mat_solve_vec (mat A, vec b) |
mat | mat_solve_mat (mat A, mat B) |
mat | mat_ls (mat A, mat B) |
double | mat_lu (mat a, ivec piv) |
void | mat_cholesky (mat a) |
vec | mat_qr (mat a) |
void | mat_gs (mat A) |
mat | mat_real_schur (mat a) |
cvec | mat_eig (mat a, cmat evec) |
vec | mat_eig_sym (mat a, mat evec) |
mat | mat_hessenberg (mat a, mat V) |
vec | mat_svd (mat A, mat U, mat V) |
mat | mat_inv (mat m) |
mat | mat_new_inv (mat m) |
cmat | cmat_inv (cmat m) |
cmat | cmat_new_inv (cmat m) |
int | mat_is_symmetric (mat a) |
double | mat_det (mat a) |
double | mat_norm2 (mat a) |
double | mat_cond (mat a) |
int | mat_rank (mat a) |
Referenced by cmat_new_inv().
void mat_cholesky | ( | mat | a | ) |
double mat_cond | ( | mat | a | ) |
Definition at line 599 of file linalg.c.
References mat_height(), mat_svd(), mat_width(), and vec_delete().
Referenced by main().
double mat_det | ( | mat | a | ) |
Definition at line 1722 of file linalg.c.
References ivec_delete(), ivec_new_zeros(), mat_clone(), mat_delete(), mat_height(), and mat_lu().
Referenced by main().
Definition at line 1488 of file linalg.c.
References it_assert, mat_height(), mat_tridiag(), mat_tridiag_ql(), mat_width(), vec_delete(), and vec_new_zeros().
Referenced by mat_pow_one_by_two(), and PCAmat().
void mat_gs | ( | mat | A | ) |
Definition at line 1976 of file linalg.c.
References mat_cols_normalize(), mat_get_col(), mat_height(), mat_width(), vec_add(), vec_delete(), vec_mul_by(), vec_new(), vec_norm(), and vec_zeros().
Definition at line 889 of file linalg.c.
References it_assert, mat_clone(), mat_height(), mat_width(), mat_zeros(), scale, vec_delete(), and vec_new_zeros().
Referenced by mat_eig(), and mat_real_schur().
Definition at line 2047 of file linalg.c.
References mat_delete(), mat_height(), mat_inv_direct(), and mat_width().
int mat_is_symmetric | ( | mat | a | ) |
Definition at line 1912 of file linalg.c.
References it_assert, it_warning(), mat_clone(), mat_delete(), mat_height(), mat_qr(), mat_width(), and vec_delete().
Definition at line 1627 of file linalg.c.
References it_assert, IT_EPSILON, it_warning(), ivec_length(), mat_height(), mat_swap_rows(), and mat_width().
Referenced by mat_det(), mat_solve_mat(), and mat_solve_vec().
Definition at line 2072 of file linalg.c.
References mat_inv_direct().
Referenced by main(), and mat_pow_one_by_two().
double mat_norm2 | ( | mat | a | ) |
Definition at line 618 of file linalg.c.
References mat_svd(), and vec_delete().
Referenced by main().
Definition at line 1862 of file linalg.c.
References mat_height(), mat_width(), and vec_new().
Referenced by mat_ls().
int mat_rank | ( | mat | a | ) |
Definition at line 576 of file linalg.c.
References mat_height(), mat_svd(), mat_width(), vec_delete(), and vec_length().
Referenced by main().
Definition at line 1609 of file linalg.c.
References cvec_delete(), it_assert, mat_delete(), mat_h2rs(), mat_height(), mat_hessenberg(), mat_new_zeros(), and mat_width().
Definition at line 1793 of file linalg.c.
References it_assert, it_warning(), ivec_delete(), ivec_length(), ivec_new(), mat_clone(), mat_delete(), mat_height(), mat_lu(), mat_new(), and mat_width().
Referenced by mat_inv_direct().
Definition at line 1741 of file linalg.c.
References it_assert, it_warning(), ivec_delete(), ivec_length(), ivec_new(), mat_clone(), mat_delete(), mat_height(), mat_lu(), mat_width(), vec_length(), and vec_new().
Definition at line 103 of file linalg.c.
References A, it_assert, mat_clone(), mat_height(), mat_width(), mat_zeros(), maxx(), scale, vec_delete(), and vec_new_zeros().
Referenced by main(), mat_cond(), mat_norm2(), and mat_rank().
|
|