Classes | |
struct | Gan_PseudoInverseStruct |
struct | Gan_PseudoInverseStruct_f |
Defines | |
#define | gel(M, i, j) gan_mat_get_el(M,i,j) |
#define | sel(M, i, j, v) gan_mat_set_el(M,i,j,v) |
#define | sgel(M, i, j) gan_squmat_get_el(M,i,j) |
#define | ssel(M, i, j, v) gan_squmat_set_el(M,i,j,v) |
#define | vgel(M, i) gan_vec_get_el(M,i) |
#define | vsel(M, i, v) gan_vec_set_el(M,i,v) |
#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 * | gan_pseudoinv_form (Gan_PseudoInverseStruct *pis, long max_asize, long max_bsize) |
Forms 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. | |
Gan_PseudoInverseStruct * | gan_pseudoinv_alloc (long max_asize, long max_bsize) |
Macro: Allocates a pseudo-inverse equation solving structure. | |
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. | |
Gan_PseudoInverseStruct_f * | gan_pseudoinvf_alloc (long max_asize, long max_bsize) |
Macro: Allocates a pseudo-inverse equation solving structure. |
|
Macro: Allocates a pseudo-inverse equation solving structure.
Macro call to gan_pseudoinv_form().
|
|
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_pseudoinv_reset() on the pis structure. The matrix is decremented by , where is the value scale, and is decremented by . This function is used to remove data added using gan_pseudoinv_increment().
|
|
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_pseudoinv_reset() on the pis structure. The matrix is incremented by , where is the scale value, and is incremented by .
|
|
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_pseudoinv_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 there are any constraints they are incorporated.
If an error occurs, the error handler is invoked unless error_code is not
|
|
Macro: Allocates a pseudo-inverse equation solving structure.
Macro call to gan_pseudoinvf_form().
|
|
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 is decremented by , where is the value scale, and is decremented by . This function is used to remove data added using gan_pseudoinvf_increment().
|
|
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 is incremented by , where is the scale value, and is incremented by .
|
|
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 there are any constraints they are incorporated.
If an error occurs, the error handler is invoked unless error_code is not
|