#include <gandalf/linalg/vecf_gen.h>
#include <gandalf/linalg/matf_gen.h>
#include <gandalf/linalg/matf_square.h>
Go to the source code of this file.
Compounds | |
struct | Gan_PseudoInverseStruct_f |
Functions | |
Gan_PseudoInverseStruct_f * | gan_pseudoinvf_form (Gan_PseudoInverseStruct_f *psi, long max_asize, long max_bsize) |
Forms a pseudo-inverse equation solving structure. | |
Gan_PseudoInverseStruct_f * | gan_pseudoinvf_alloc (long max_asize, long max_bsize) |
Macro: Allocates 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
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
|
Decrements a pseudo-inverse equation solver.
![]() to be solved by pseudo-inverse: ![]()
This function takes the variable argument list of elements of a vectors a and b, of sizes equal to the asize and bsize arguments to the most recent call to gan_pseudoinvf_reset() on the pis structure. The matrix
|
|
Forms a pseudo-inverse equation solving structure.
|
|
Frees a pseudo-inverse equation solving structure.
|
|
Return a null vector from the solution space.
|
|
Return solution of an accumulated system of linear equations.
|
|
Decrements a pseudo-inverse equation solver.
![]() to be solved by pseudo-inverse: ![]()
This function takes the variable argument list of elements of a vectors a and b, of sizes equal to the asize and bsize arguments to the most recent call to gan_pseudoinvf_reset() on the pis structure. The matrix
|
|
Initialises a pseudo-inverse equation solver to zero.
|
|
Build a constraint into a system of linear equations.
![]() to any subsequently computed slution of the equations being built in the pis structure.
|
|
Sets the number of allowed low singular values.
The default value for this parameter is zero, effectively nullifying its effect. If it is set to a non-zero value then gan_pseudoinvf_set_ratio_thres() should also be used to set the singular value ratio threshold.
|
|
Sets the size of the null space in a system of linear equations.
|
|
Sets the threshold on singular value ratios.
The default value for ratio_thres is zero, eliminating its effect.
|
|
Solve an accumulated system of linear equations.
![]()
for matrix
If an error occurs, the error handler is invoked unless error_code is not
|