#include <stdarg.h>
#include <math.h>
#include <gandalf/linalg/matf_diagonal.h>
#include <gandalf/linalg/matf_symmetric.h>
#include <gandalf/linalg/matf_gen.h>
#include <gandalf/linalg/vecf_gen.h>
#include <gandalf/linalg/clapack.h>
#include <gandalf/linalg/cblas.h>
#include <gandalf/common/numerics.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/misc_error.h>
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, Gan_Matrix_f *B, Gan_Matrix_f *C) |
Left-multiply the inverse of a diagonal matrix by a 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