Linear Algebra


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)

Detailed Description


Function Documentation

cmat cmat_inv ( cmat  m  ) 

Referenced by cmat_new_inv().

cmat cmat_new_inv ( cmat  m  ) 

void mat_cholesky ( mat  a  ) 

Definition at line 2011 of file linalg.c.

References it_assert, mat_height(), and mat_width().

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().

cvec mat_eig ( mat  a,
cmat  evec 
)

Referenced by main().

vec mat_eig_sym ( mat  a,
mat  evec 
)

void mat_gs ( mat  A  ) 

mat mat_hessenberg ( mat  a,
mat  V 
)

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().

mat mat_inv ( mat  m  ) 

Definition at line 2047 of file linalg.c.

References mat_delete(), mat_height(), mat_inv_direct(), and mat_width().

Referenced by fpICA(), and whitenv().

int mat_is_symmetric ( mat  a  ) 

Definition at line 68 of file linalg.c.

References mat_height(), and mat_width().

mat mat_ls ( mat  A,
mat  B 
)

double mat_lu ( mat  a,
ivec  piv 
)

mat mat_new_inv ( mat  m  ) 

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().

vec mat_qr ( mat  a  ) 

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().

mat mat_real_schur ( mat  a  ) 

mat mat_solve_mat ( mat  A,
mat  B 
)

vec mat_solve_vec ( mat  A,
vec  b 
)

vec mat_svd ( mat  A,
mat  U,
mat  V 
)


Hosted by
Copyright (C) 2005-2006 Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau