#include <gandalf/linalg/pseudo_inversef.h>
#include <gandalf/linalg/matf_symmetric.h>
#include <gandalf/linalg/matf_diagonal.h>
#include <gandalf/linalg/matf_triangular.h>
#include <gandalf/linalg/matf_gen.h>
#include <gandalf/linalg/vecf_gen.h>
#include <gandalf/linalg/matf_lq.h>
#include <gandalf/linalg/matvecf_clapack.h>
#include <gandalf/linalg/matvecf_blas.h>
#include <gandalf/common/misc_error.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/compare.h>
Defines | |
#define | gel(M, i, j) gan_matf_get_el(M,i,j) |
#define | sel(M, i, j, v) gan_matf_set_el(M,i,j,v) |
#define | sgel(M, i, j) gan_squmatf_get_el(M,i,j) |
#define | ssel(M, i, j, v) gan_squmatf_set_el(M,i,j,v) |
#define | vgel(M, i) gan_vecf_get_el(M,i) |
#define | vsel(M, i, v) gan_vecf_set_el(M,i,v) |
Functions | |
Gan_PseudoInverseStruct_f * | gan_pseudoinvf_form (Gan_PseudoInverseStruct_f *pis, long max_asize, long max_bsize) |
Forms a pseudo-inverse equation solving structure. | |
void | gan_pseudoinvf_free (Gan_PseudoInverseStruct_f *pis) |
Frees a pseudo-inverse equation solving structure. | |
Gan_Bool | gan_pseudoinvf_reset (Gan_PseudoInverseStruct_f *pis, long asize, long bsize) |
Initialises a pseudo-inverse equation solver to zero. | |
Gan_Bool | gan_pseudoinvf_increment (Gan_PseudoInverseStruct_f *pis, float scale,...) |
Decrements a pseudo-inverse equation solver. | |
Gan_Bool | gan_pseudoinvf_decrement (Gan_PseudoInverseStruct_f *pis, float scale,...) |
Decrements a pseudo-inverse equation solver. | |
Gan_Bool | gan_pseudoinvf_set_constraint (Gan_PseudoInverseStruct_f *pis, Gan_Matrix_f *C, Gan_Matrix_f *D) |
Build a constraint into a system of linear equations. | |
Gan_Bool | gan_pseudoinvf_set_null_space (Gan_PseudoInverseStruct_f *pis, int null_space) |
Sets the size of the null space in a system of linear equations. | |
Gan_Bool | gan_pseudoinvf_set_ratio_thres (Gan_PseudoInverseStruct_f *pis, float ratio_thres) |
Sets the threshold on singular value ratios. | |
Gan_Bool | gan_pseudoinvf_set_low_values_allowed (Gan_PseudoInverseStruct_f *pis, int low_values_allowed) |
Sets the number of allowed low singular values. | |
Gan_Bool | gan_pseudoinvf_solve (Gan_PseudoInverseStruct_f *pis, int *error_code) |
Solve an accumulated system of linear equations. | |
Gan_Matrix_f * | gan_pseudoinvf_get_solution (Gan_PseudoInverseStruct_f *pis) |
Return solution of an accumulated system of linear equations. | |
Gan_Vector_f * | gan_pseudoinvf_get_null_vector (Gan_PseudoInverseStruct_f *pis) |
Return a null vector from the solution space. |
Part of: Gandalf Library