#include <gandalf/linalg/mat_square.h>
Go to the source code of this file.
Functions | |
Gan_SquMatrix * | gan_diagmat_set_size (Gan_SquMatrix *A, unsigned long size) |
Set square matrix to be diagonal with given size. | |
Gan_SquMatrix * | gan_diagmat_fill_va (Gan_SquMatrix *A, unsigned long size,...) |
Fill diagonal matrix from variable argument list. | |
Gan_SquMatrix * | gan_diagmat_fill_const_q (Gan_SquMatrix *A, unsigned long size, double value) |
Fill a diagonal matrix with constant value. | |
Gan_Bool | gan_diagmat_read_va (const Gan_SquMatrix *A, unsigned long size,...) |
Read the elements of a diagonal matrix into pointers. | |
Gan_SquMatrix * | gan_diagmat_diag_thres (Gan_SquMatrix *A, unsigned null_space, double thres, int *indexptr, double **elptr) |
Threshold small diagonal elements of a diagonal matrix. | |
Gan_SquMatrix * | gan_diagmat_inv_diag_thres (Gan_SquMatrix *A, unsigned null_space, double thres) |
Invert the elements of diagonal matrix. | |
Gan_Matrix * | gan_diagmatI_lmult_inf_q (const Gan_SquMatrix *A, struct Gan_Matrix *B, struct Gan_Matrix *C) |
Gan_SquMatrix * | gan_diagmat_alloc (unsigned long size) |
Macro: Allocate and return a diagonal matrix. | |
Gan_SquMatrix * | gan_diagmat_form (Gan_SquMatrix *A, unsigned long size) |
Macro: Form and return a diagonal matrix. | |
Gan_SquMatrix * | gan_diagmat_form_data (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size) |
Macro: Form and return a diagonal matrix. | |
Gan_SquMatrix * | gan_diagmat_fill_const_s (unsigned long size, double value) |
Macro: Allocates a diagonal matrix and fills it with a value. | |
Gan_SquMatrix * | gan_diagmat_fill_zero_q (Gan_SquMatrix *A, unsigned long size) |
Macro: Sets the size of diagonal matrix, and fills it with zero. | |
Gan_SquMatrix * | gan_diagmat_fill_zero_s (unsigned long size) |
Macro: Allocates a diagonal matrix and fills it with zero. | |
Gan_Matrix * | gan_diagmatI_lmult_inf_s (const Gan_SquMatrix *A, Gan_Matrix *B) |
Macro: Left multiply inverse of diagonal matrix by generic matrix. | |
Gan_Matrix * | gan_diagmatI_lmult_inf_i (const Gan_SquMatrix *A, Gan_Matrix *B) |
Macro: Left multiply inverse of diagonal matrix by generic matrix. | |
Gan_SquMatrix * | gan_diagmat_form_gen (Gan_SquMatrix *A, unsigned long size, double *data, size_t data_size) |
Gan_SquMatrix * | gan_diagmat_fill_vap (Gan_SquMatrix *A, unsigned long size, va_list *aptr) |
Fill diagonal matrix with values from variable argument list. |
Part of: Gandalf Library