#include <stdarg.h>
#include <gandalf/linalg/mat_symmetric.h>
#include <gandalf/linalg/mat_triangular.h>
#include <gandalf/linalg/mat_diagonal.h>
#include <gandalf/linalg/mat_gen.h>
#include <gandalf/linalg/vec_gen.h>
#include <gandalf/linalg/matvec_clapack.h>
#include <gandalf/linalg/clapack.h>
#include <gandalf/linalg/cblas.h>
#include <gandalf/common/numerics.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/array.h>
#include <gandalf/common/misc_error.h>
Classes | |
struct | EigenStuff |
Functions | |
Gan_SquMatrix * | gan_symmat_set_size (Gan_SquMatrix *A, unsigned long size) |
Set square matrix to be symmetric with given size. | |
Gan_SquMatrix * | gan_symmat_fill_va (Gan_SquMatrix *A, unsigned long size,...) |
Fill symmetric matrix from variable argument list. | |
Gan_SquMatrix * | gan_symmat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value) |
Fill symmetric matrix with constant value, and set its size. | |
Gan_Bool | gan_symmat_read_va (const Gan_SquMatrix *A, unsigned long size,...) |
Read the elements of a symmetric matrix into pointers. | |
Gan_SquMatrix * | gan_symmat_insert_gen (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
Inserts part of generic matrix in symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertv_gen (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Vector *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
Inserts part of vector in symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertsym (Gan_SquMatrix *A, unsigned long rA, const Gan_SquMatrix *B, unsigned long rB, unsigned long size) |
Insert diagonal part of symmetric matrix in symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertsym_od (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_SquMatrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
Insert off-diagonal part of symmetric matrix in symmetric matrix. | |
Gan_Bool | gan_symmat_eigen (Gan_SquMatrix *A, Gan_SquMatrix *W, Gan_Matrix *Z, Gan_Bool sort, double *work, unsigned long work_size) |
Computes eigenvalues and eigenvectors of a symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size) |
Gan_SquMatrix * | gan_symmat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr) |
Fill symmetric matrix with values from variable argument list. |
Part of: Gandalf Library