#include <gandalf/linalg/mat_square.h>
Go to the source code of this file.
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_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, struct Gan_Matrix *Z, Gan_Bool sort, double *work, unsigned long work_size) |
Gan_SquMatrix * | gan_symmat_alloc (unsigned long size) |
Macro: Allocate and return a square symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_form (Gan_SquMatrix *A, unsigned long size) |
Macro: Form and return a square symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_form_data (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size) |
Macro: Form and return a square symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_fill_const_s (unsigned long size, double value) |
Macro: Allocates a symmetric matrix and fills it with a value. | |
Gan_SquMatrix * | gan_symmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size) |
Macro: Sets the size of symmetric matrix, and fills it with zero. | |
Gan_SquMatrix * | gan_symmat_fill_zero_s (unsigned long size) |
Macro: Allocates a symmetric matrix and fills it with zero. | |
Gan_SquMatrix * | gan_symmat_insert (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
Macro: Insert part of generic matrix in symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertT (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
Macro: Insert transpose of part of generic matrix in symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertv (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long rows) |
Macro: Insert part of column vector in a symmetric matrix. | |
Gan_SquMatrix * | gan_symmat_insertvT (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long cols) |
Macro: Insert part of row vector in 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. | |
Gan_SquMatrix * | gan_symmat_insert_gen (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const struct Gan_Matrix *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
Gan_SquMatrix * | gan_symmat_insertv_gen (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const struct Gan_Vector *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
Part of: Gandalf Library