#include <gandalf/linalg/matf_square.h>
Go to the source code of this file.
Functions | |
Gan_SquMatrix_f * | gan_diagmatf_set_size (Gan_SquMatrix_f *A, unsigned long size) |
Set square matrix to be diagonal with given size. | |
Gan_SquMatrix_f * | gan_diagmatf_fill_va (Gan_SquMatrix_f *A, unsigned long size,...) |
Fill diagonal matrix from variable argument list. | |
Gan_SquMatrix_f * | gan_diagmatf_fill_const_q (Gan_SquMatrix_f *A, unsigned long size, float value) |
Fill a diagonal matrix with constant value. | |
Gan_Bool | gan_diagmatf_read_va (const Gan_SquMatrix_f *A, unsigned long size,...) |
Read the elements of a diagonal matrix into pointers. | |
Gan_SquMatrix_f * | gan_diagmatf_diag_thres (Gan_SquMatrix_f *A, unsigned null_space, float thres, int *indexptr, float **elptr) |
Threshold small diagonal elements of a diagonal matrix. | |
Gan_SquMatrix_f * | gan_diagmatf_inv_diag_thres (Gan_SquMatrix_f *A, unsigned null_space, float thres) |
Invert the elements of diagonal matrix. | |
Gan_Matrix_f * | gan_diagmatIf_lmult_inf_q (const Gan_SquMatrix_f *A, struct Gan_Matrix_f *B, struct Gan_Matrix_f *C) |
Gan_SquMatrix_f * | gan_diagmatf_alloc (unsigned long size) |
Macro: Allocate and return a diagonal matrix. | |
Gan_SquMatrix_f * | gan_diagmatf_form (Gan_SquMatrix_f *A, unsigned long size) |
Macro: Form and return a diagonal matrix. | |
Gan_SquMatrix_f * | gan_diagmatf_form_data (Gan_SquMatrix_f *A, unsigned long size, float *data, size_t data_size) |
Macro: Form and return a diagonal matrix. | |
Gan_SquMatrix_f * | gan_diagmatf_fill_const_s (unsigned long size, float value) |
Macro: Allocates a diagonal matrix and fills it with a value. | |
Gan_SquMatrix_f * | gan_diagmatf_fill_zero_q (Gan_SquMatrix_f *A, unsigned long size) |
Macro: Sets the size of diagonal matrix, and fills it with zero. | |
Gan_SquMatrix_f * | gan_diagmatf_fill_zero_s (unsigned long size) |
Macro: Allocates a diagonal matrix and fills it with zero. | |
Gan_Matrix_f * | gan_diagmatIf_lmult_inf_s (const Gan_SquMatrix_f *A, Gan_Matrix_f *B) |
Macro: Left multiply inverse of diagonal matrix by generic matrix. | |
Gan_Matrix_f * | gan_diagmatIf_lmult_inf_i (const Gan_SquMatrix_f *A, Gan_Matrix_f *B) |
Macro: Left multiply inverse of diagonal matrix by generic matrix. | |
Gan_SquMatrix_f * | gan_diagmatf_form_gen (Gan_SquMatrix_f *A, unsigned long size, float *data, size_t data_size) |
Gan_SquMatrix_f * | gan_diagmatf_fill_vap (Gan_SquMatrix_f *A, unsigned long size, va_list *aptr) |
Fill diagonal matrix with values from variable argument list. |
Part of: Gandalf Library