#include <stdio.h>
#include <math.h>
#include <gandalf/linalg/2x2matrix_norm.h>
#include <gandalf/common/misc_error.h>
Defines | |
#define | GAN_MAT_NORMALISE gan_mat22_normalize |
#define | GAN_MAT_NORM_FNAME "gan_mat22_normalize" |
#define | GAN_MATT_NORMALISE gan_mat22T_normalize |
#define | GAN_MATT_NORM_FNAME "gan_mat22T_normalize" |
#define | GAN_MATTYPE Gan_Matrix22 |
#define | GAN_SQUMATTYPE Gan_SquMatrix22 |
#define | GAN_SQUMATTYPEP Gan_SquMatrix22 |
#define | GAN_MAT_SCALE_S gan_mat22_scale_s |
#define | GAN_MAT_DIVIDE_S gan_mat22_divide_s |
#define | GAN_MAT_FNORM_S gan_mat22_Fnorm_s |
#define | GAN_SYMMAT_IDENT_S gan_symmat22_ident_s |
#define | GAN_SYMMAT_INVERT_Q gan_symmat22_invert_q |
#define | GAN_SYMMAT_ZERO_Q gan_symmat22_zero_q |
#define | GAN_SYMMAT_MULTV_Q gan_symmat22_multv2_q |
#define | GAN_SYMMAT_DIVIDE_S gan_symmat22_divide_s |
#define | GAN_SYMMAT_DIVIDE_I gan_symmat22_divide_i |
#define | GAN_SYMMAT_INCREMENT gan_symmat22_increment |
#define | GAN_SYMMAT_TRACE_S gan_symmat22_trace_s |
#define | GAN_SYMMAT_SUB_Q gan_symmat22_sub_q |
#define | GAN_SYMMAT_SUMSQR_Q gan_symmat22_sumsqr_q |
#define | GAN_SYMMAT_CHOLESKY_Q gan_symmat22_cholesky_q |
#define | GAN_SYMMAT_LRMULTM_Q gan_symmat22_lrmultm22_q |
#define | GAN_SYMMATP_TRACE_S gan_symmat22_trace_s |
#define | GAN_LTMATI_MULTV_S gan_ltmat22I_multv2_s |
#define | GAN_MAT_RMULTLIT_S gan_mat22_rmultl22IT_s |
#define | GAN_MAT_RMULTLIT_S gan_mat22_rmultl22IT_s |
#define | GAN_MAT_SLMULTT_Q gan_mat22_slmultT_q |
#define | GAN_MAT_TPOSE_I gan_mat22_tpose_i |
Functions | |
Gan_Bool | gan_mat22_normalize (Gan_Matrix22 *B, int n, double term_threshold, int max_iterations, Gan_SquMatrix22 *Lp) |
Normalize array of 2x2 matrices to identity inertia moment. | |
Gan_Bool | gan_mat22T_normalize (Gan_Matrix22 *B, int n, double term_threshold, int max_iterations, Gan_SquMatrix22 *Lp) |
Normalize array of 2x2 matrices to identity inertia moment. |
Part of: Gandalf Library