28 #ifndef _math_scmat_cmatrix_h
29 #define _math_scmat_cmatrix_h
38 double cmat_determ(
double**matrix,
int sym,
int dim);
39 double cmat_invert(
double**matrix,
int sym,
int dim);
40 double cmat_solve_lin(
double**,
int sym,
double*,
int dim);
41 void cmat_mxm(
double**a,
int transpose_a,
42 double**b,
int transpose_b,
43 double**c,
int transpose_c,
44 int nrow,
int nlink,
int ncol,
46 void cmat_symmetric_mxm(
double**a,
int na,
49 void cmat_transform_symmetric_matrix(
double**a,
int na,
53 void cmat_transform_diagonal_matrix(
double**a,
int na,
57 double** cmat_new_square_matrix(
int n);
58 double** cmat_new_rect_matrix(
int n,
int m);
59 void cmat_delete_matrix(
double**matrix);
60 void cmat_transpose_square_matrix(
double**matrix,
int n);
61 void cmat_transpose_matrix(
double**a,
int nrow,
int ncol);
62 void cmat_matrix_pointers(
double**ptrs,
double*matrix,
int nrow,
int ncol);
63 void cmat_diag(
double**symm_a,
double*evals,
double**evecs,
int n,
64 int matz,
double tol);
65 void cmat_eigensystem(
double**symm_a,
double**symm_s,
double*evals,
double**evecs,
int n,
67 void cmat_schmidt(
double **rows,
double *S,
int nrow,
int nc);
68 int cmat_schmidt_tol(
double **C,
double *S,
int nrow,
int ncol,
69 double tolerance,
double *res);