#include <gandalf/linalg/vec_gen.h>
#include <gandalf/linalg/mat_gen.h>
#include <gandalf/linalg/mat_square.h>
Go to the source code of this file.
Classes | |
struct | Gan_PseudoInverseStruct |
Functions | |
Gan_PseudoInverseStruct * | gan_pseudoinv_form (Gan_PseudoInverseStruct *pis, long max_asize, long max_bsize) |
Forms a pseudo-inverse equation solving structure. | |
Gan_PseudoInverseStruct * | gan_pseudoinv_alloc (long max_asize, long max_bsize) |
Macro: Allocates a pseudo-inverse equation solving structure. | |
void | gan_pseudoinv_free (Gan_PseudoInverseStruct *pis) |
Frees a pseudo-inverse equation solving structure. | |
Gan_Bool | gan_pseudoinv_reset (Gan_PseudoInverseStruct *pis, long asize, long bsize) |
Initialises a pseudo-inverse equation solver to zero. | |
Gan_Bool | gan_pseudoinv_increment (Gan_PseudoInverseStruct *pis, double scale,...) |
Decrements a pseudo-inverse equation solver. | |
Gan_Bool | gan_pseudoinv_decrement (Gan_PseudoInverseStruct *pis, double scale,...) |
Decrements a pseudo-inverse equation solver. | |
Gan_Bool | gan_pseudoinv_set_constraint (Gan_PseudoInverseStruct *pis, Gan_Matrix *C, Gan_Matrix *D) |
Build a constraint into a system of linear equations. | |
Gan_Bool | gan_pseudoinv_set_null_space (Gan_PseudoInverseStruct *pis, int null_space) |
Sets the size of the null space in a system of linear equations. | |
Gan_Bool | gan_pseudoinv_set_ratio_thres (Gan_PseudoInverseStruct *pis, double ratio_thres) |
Sets the threshold on singular value ratios. | |
Gan_Bool | gan_pseudoinv_set_low_values_allowed (Gan_PseudoInverseStruct *pis, int low_values_allowed) |
Sets the number of allowed low singular values. | |
Gan_Bool | gan_pseudoinv_solve (Gan_PseudoInverseStruct *pis, int *error_code) |
Solve an accumulated system of linear equations. | |
Gan_Matrix * | gan_pseudoinv_get_solution (Gan_PseudoInverseStruct *pis) |
Return solution of an accumulated system of linear equations. | |
Gan_Vector * | gan_pseudoinv_get_null_vector (Gan_PseudoInverseStruct *pis) |
Return a null vector from the solution space. |
Part of: Gandalf Library