Main Page | Modules | Class List | File List | Class Members | File Members

3vector_norm.c File Reference

#include <stdio.h>
#include <math.h>
#include <gandalf/linalg/3vector_norm.h>
#include <gandalf/common/misc_error.h>

Defines

#define GAN_VEC_NORMALISE   gan_vec3_normalize
#define GAN_VEC_NORM_FNAME   "gan_vec3_normalize"
#define GAN_VECTYPE   Gan_Vector3
#define GAN_SQUMATTYPE   Gan_SquMatrix33
#define GAN_VEC_SCALE_S   gan_vec3_scale_s
#define GAN_VEC_DIVIDE_S   gan_vec3_divide_s
#define GAN_VEC_DOT_S   gan_vec3_dot_s
#define GAN_VEC_SQRLEN_S   gan_vec3_sqrlen_s
#define GAN_VEC_OUTER_SYM_Q   gan_vec33_outer_sym_q
#define GAN_SYMMAT_IDENT_S   gan_symmat33_ident_s
#define GAN_SYMMAT_INVERT_Q   gan_symmat33_invert_q
#define GAN_SYMMAT_ZERO_Q   gan_symmat33_zero_q
#define GAN_SYMMAT_MULTV_Q   gan_symmat33_multv3_q
#define GAN_SYMMAT_DIVIDE_S   gan_symmat33_divide_s
#define GAN_SYMMAT_DIVIDE_I   gan_symmat33_divide_i
#define GAN_SYMMAT_INCREMENT   gan_symmat33_increment
#define GAN_SYMMAT_TRACE_S   gan_symmat33_trace_s
#define GAN_SYMMAT_SUB_Q   gan_symmat33_sub_q
#define GAN_SYMMAT_SUMSQR_Q   gan_symmat33_sumsqr_q
#define GAN_SYMMAT_CHOLESKY_Q   gan_symmat33_cholesky_q
#define GAN_LTMATI_MULTV_S   gan_ltmat33I_multv3_s

Functions

Gan_Bool gan_vec3_normalize (Gan_Vector3 *b, int n, double term_threshold, int max_iterations, Gan_SquMatrix33 *Lp)
 Normalize array of 3x1 vectors to identity inertia moment.

Detailed Description

Module: Projective normalisation of 3-vector array (double precision)

Part of: Gandalf Library

Version:
1.15
Date:
2003/07/18 11:52:51
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:49 2006 by  doxygen 1.3.9.1