Classes | Macros | Functions
ISMatrix.h File Reference
#include "ISConstants.h"
#include <string.h>
Include dependency graph for ISMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sLpfO0
 
struct  sLpfO1
 

Macros

#define dot_Vec2(v)   ((v)[0]*(v)[0] + (v)[1]*(v)[1])
 
#define dot_Vec3(v)   ((v)[0]*(v)[0] + (v)[1]*(v)[1] + (v)[2]*(v)[2])
 
#define dot_Vec4(v)   ((v)[0]*(v)[0] + (v)[1]*(v)[1] + (v)[2]*(v)[2] + (v)[3]*(v)[3])
 
#define mag_Vec2(v)   (_SQRT(dot_Vec2(v)))
 
#define mag_Vec2d(v)   (sqrt(dot_Vec2(v)))
 
#define mag_Vec3(v)   (_SQRT(dot_Vec3(v)))
 
#define mag_Vec3d(v)   (sqrt(dot_Vec3(v)))
 
#define mag_Vec4(v)   (_SQRT(dot_Vec4(v)))
 
#define mag_Vec4d(v)   (sqrt(dot_Vec4(v)))
 
#define recipNorm_Vec2(v)   (1.0f/mag_Vec2(v))
 
#define recipNorm_Vec3(v)   (1.0f/mag_Vec3(v))
 
#define recipNorm_Vec3d(v)   (1.0/mag_Vec3d(v))
 
#define recipNorm_Vec4(v)   (1.0f/mag_Vec4(v))
 
#define recipNorm_Vec4d(v)   (1.0/mag_Vec4d(v))
 
#define set_Vec3_X(v, x)   { (v[0])=(x); (v[1])=(x); (v[2])=(x); }
 
#define set_Vec4_X(v, x)   { (v[0])=(x); (v[1])=(x); (v[2])=(x); (v[3])=(x); }
 
#define unwrap_Vec3(v)   {UNWRAP_RAD_F32(v[0]); UNWRAP_RAD_F32(v[1]); UNWRAP_RAD_F32(v[2]) }
 
#define Vec3_AllGrtrThan_X(v, x)   ( ((v[0])>(x)) && ((v[1])>(x)) && ((v[2])>(x)) )
 
#define Vec3_AllLessThan_X(v, x)   ( ((v[0])<(x)) && ((v[1])<(x)) && ((v[2])<(x)) )
 
#define Vec3_IsAllZero(v)   ( ((v[0])==(0.0f)) && ((v[1])==(0.0f)) && ((v[2])==(0.0f)) )
 
#define Vec3_IsAnyNonZero(v)   ( ((v[0])!=(0.0f)) || ((v[1])!=(0.0f)) || ((v[2])!=(0.0f)) )
 
#define Vec3_IsAnyZero(v)   ( ((v[0])==(0.0f)) || ((v[1])==(0.0f)) || ((v[2])==(0.0f)) )
 
#define Vec3_OneGrtrThan_X(v, x)   ( ((v[0])>(x)) || ((v[1])>(x)) || ((v[2])>(x)) )
 
#define Vec3_OneLessThan_X(v, x)   ( ((v[0])<(x)) || ((v[1])<(x)) || ((v[2])<(x)) )
 

Functions

void abs_Vec2 (Vector2 result, const Vector2 v)
 
void abs_Vec2d (Vector2d result, const Vector2d v)
 
void abs_Vec3 (Vector3 result, const Vector3 v)
 
void abs_Vec3d (Vector3d result, const Vector3d v)
 
void abs_Vec4 (Vector4 result, const Vector4 v)
 
void abs_Vec4d (Vector4d result, const Vector4d v)
 
void add_K1Vec3_K2Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2, float k1, float k2)
 
void add_Vec3_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
void add_Vec3d_Vec3d (Vector3d result, const Vector3d v1, const Vector3d v2)
 
void add_Vec4_Vec4 (Vector4 result, const Vector4 v1, const Vector4 v2)
 
void add_Vec4d_Vec4d (Vector4d result, const Vector4d v1, const Vector4d v2)
 
static __inline void cpy_MatMxN (f_t *result, const f_t *M, i_t m, i_t n)
 
void cpy_MatRxC_MatMxN (f_t *result, i_t r, i_t c, i_t r_offset, i_t c_offset, f_t *A, i_t m, i_t n)
 
static __inline void cpy_Vec3_Vec3 (Vector3 result, const Vector3 v)
 
static __inline void cpy_Vec3_Vec3d (Vector3 result, const Vector3d v)
 
static __inline void cpy_Vec3d_Vec3 (Vector3d result, const Vector3 v)
 
static __inline void cpy_Vec3d_Vec3d (Vector3d result, const Vector3d v)
 
static __inline void cpy_Vec4_Vec4 (Vector4 result, const Vector4 v)
 
static __inline void cpy_Vec4_Vec4d (Vector4 result, const Vector4d v)
 
static __inline void cpy_Vec4d_Vec4 (Vector4d result, const Vector4 v)
 
static __inline void cpy_Vec4d_Vec4d (Vector4d result, const Vector4d v)
 
static __inline void cpy_VecN_VecN (f_t *result, const f_t *v, i_t n)
 
void cross_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
void crossd_Vec3 (Vector3d result, const Vector3 v1, const Vector3 v2)
 
void div_Vec3_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
void div_Vec3_X (Vector3 result, const Vector3 v, const f_t x)
 
void div_Vec4_Vec4 (Vector4 result, const Vector4 v1, const Vector4 v2)
 
void div_Vec4_X (Vector4 result, const Vector4 v, const f_t x)
 
void div_Vec4d_X (Vector4d result, const Vector4d v, const double x)
 
f_t dot_Vec2_Vec2 (const Vector2 v1, const Vector2 v2)
 
f_t dot_Vec3_Vec3 (const Vector3 v1, const Vector3 v2)
 
double dot_Vec3d_Vec3d (const Vector3d v1, const Vector3d v2)
 
f_t dot_Vec4_Vec4 (const Vector4 v1, const Vector4 v2)
 
void eye_MatN (f_t *A, i_t n)
 
char inv_Mat2 (Matrix2 result, Matrix2 m)
 
char inv_Mat3 (Matrix3 result, const Matrix3 m)
 
char inv_Mat4 (Matrix4 result, const Matrix4 m)
 
char inv_MatN (f_t *result, const f_t *M, i_t n)
 
static __inline int is_equal_Vec3 (const Vector3 v1, const Vector3 v2)
 
static __inline int is_equal_Vec4 (const Vector4 v1, const Vector4 v2)
 
static __inline char is_zero (const f_t *f)
 
static __inline int isFinite_array (f_t *a, int size)
 
static __inline int isFinite_array_d (double *a, int size)
 
static __inline int isInf_array (f_t *a, int size)
 
static __inline int isInf_array_d (double *a, int size)
 
static __inline int isNan_array (f_t *a, int size)
 
static __inline int isNan_array_d (double *a, int size)
 
static __inline void limit2_Vec3 (Vector3 v, f_t min, f_t max)
 
static __inline void limit_Vec3 (Vector3 v, f_t limit)
 
void LPFO0_init_Vec3 (sLpfO0 *lpf, f_t dt, f_t cornerFreqHz, const Vector3 initVal)
 
void LPFO0_Vec3 (sLpfO0 *lpf, const Vector3 input)
 
static __inline void max_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
static __inline f_t max_Vec3_X (const Vector3 v)
 
static __inline void min_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
static __inline f_t min_Vec3_X (const Vector3 v)
 
void mul_Mat2x2_Trans_Vec2x1 (Vector2 result, const Matrix2 m, const Vector2 v)
 
void mul_Mat2x2_Vec2x1 (Vector2 result, const Matrix2 m, const Vector2 v)
 
void mul_Mat3x3_Mat3x3 (Matrix3 result, const Matrix3 m1, const Matrix3 m2)
 
void mul_Mat3x3_Mat3x3_d (Matrix3d result, const Matrix3d m1, const Matrix3d m2)
 
void mul_Mat3x3_Mat3x3_Trans (Matrix3 result, const Matrix3 m1, const Matrix3 m2)
 
void mul_Mat3x3_Mat3x3_Trans_d (Matrix3d result, const Matrix3d m1, const Matrix3d m2)
 
void mul_Mat3x3_Trans_Mat3x3 (Matrix3 result, const Matrix3 m1, const Matrix3 m2)
 
void mul_Mat3x3_Trans_Mat3x3_d (Matrix3d result, const Matrix3d m1, const Matrix3d m2)
 
void mul_Mat3x3_Trans_Vec3x1 (Vector3 result, const Matrix3 m, const Vector3 v)
 
void mul_Mat3x3_Vec3x1 (Vector3 result, const Matrix3 m, const Vector3 v)
 
void mul_Mat4x4_Trans_Vec4x1 (Vector4 result, const Matrix4 m, const Vector4 v)
 
void mul_Mat4x4_Vec4x1 (Vector4 result, const Matrix4 m, const Vector4 v)
 
void mul_MatMxN (void *result, const void *A_ptr, const void *B_ptr, i_t m, i_t n, i_t p, char transpose_B, char add)
 
void mul_Vec2_X (Vector2 result, const Vector2 v, const f_t x)
 
void mul_Vec2d_X (Vector2d result, const Vector2d v, const double x)
 
void mul_Vec3_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
void mul_Vec3_X (Vector3 result, const Vector3 v, const f_t x)
 
void mul_Vec3d_X (Vector3d result, const Vector3d v, const double x)
 
void mul_Vec3x1_Vec1x3 (Matrix3 result, const Vector3 v1, const Vector3 v2)
 
void mul_Vec4_Vec4 (Vector4 result, const Vector4 v1, const Vector4 v2)
 
void mul_Vec4_X (Vector4 result, const Vector4 v, const f_t x)
 
void mul_Vec4d_X (Vector4d result, const Vector4d v, const double x)
 
void neg_Mat3x3 (Matrix3 result, const Matrix3 m)
 
void neg_Vec3 (Vector3 result, const Vector3 v)
 
static __inline void normalize_Vec2 (Vector2 v)
 
static __inline void normalize_Vec3 (Vector3 result, const Vector3 v)
 
static __inline void normalize_Vec4 (Vector4 result, const Vector4 v)
 
static __inline void normalize_Vec4d (Vector4d result, const Vector4d v)
 
static __inline void O0_LPF_Vec3 (Vector3 result, const Vector3 input, f_t alph, f_t beta)
 
static __inline void O1_LPF_Vec3 (Vector3 result, const Vector3 input, Vector3 c1, f_t alph, f_t beta, f_t dt)
 
void sqrt_Vec3 (Vector3 result, const Vector3 v)
 
void sqrt_Vec4 (Vector4 result, const Vector4 v)
 
void sub_Vec3_Vec3 (Vector3 result, const Vector3 v1, const Vector3 v2)
 
void sub_Vec3d_Vec3d (Vector3d result, const Vector3d v1, const Vector3d v2)
 
void sub_Vec4_Vec4 (Vector4 result, const Vector4 v1, const Vector4 v2)
 
void trans_MatMxN (f_t *result, const f_t *M, int m, int n)
 
void transpose_Mat2 (Matrix2 result, const Matrix2 m)
 
void transpose_Mat3 (Matrix3 result, const Matrix3 m)
 
void transpose_Mat4 (Matrix4 result, const Matrix4 m)
 
static __inline void zero_MatMxN (f_t *M, i_t m, i_t n)
 
static __inline void zero_Vec3 (Vector3 v)
 
static __inline void zero_Vec3d (Vector3d v)
 
static __inline void zero_Vec4 (Vector4 v)
 
static __inline void zero_Vec4d (Vector4d v)
 
static __inline void zero_VecN (f_t *v, i_t n)
 

Macro Definition Documentation

◆ dot_Vec2

#define dot_Vec2 (   v)    ((v)[0]*(v)[0] + (v)[1]*(v)[1])

Definition at line 28 of file ISMatrix.h.

◆ dot_Vec3

#define dot_Vec3 (   v)    ((v)[0]*(v)[0] + (v)[1]*(v)[1] + (v)[2]*(v)[2])

Definition at line 29 of file ISMatrix.h.

◆ dot_Vec4

#define dot_Vec4 (   v)    ((v)[0]*(v)[0] + (v)[1]*(v)[1] + (v)[2]*(v)[2] + (v)[3]*(v)[3])

Definition at line 30 of file ISMatrix.h.

◆ mag_Vec2

#define mag_Vec2 (   v)    (_SQRT(dot_Vec2(v)))

Definition at line 33 of file ISMatrix.h.

◆ mag_Vec2d

#define mag_Vec2d (   v)    (sqrt(dot_Vec2(v)))

Definition at line 36 of file ISMatrix.h.

◆ mag_Vec3

#define mag_Vec3 (   v)    (_SQRT(dot_Vec3(v)))

Definition at line 34 of file ISMatrix.h.

◆ mag_Vec3d

#define mag_Vec3d (   v)    (sqrt(dot_Vec3(v)))

Definition at line 37 of file ISMatrix.h.

◆ mag_Vec4

#define mag_Vec4 (   v)    (_SQRT(dot_Vec4(v)))

Definition at line 35 of file ISMatrix.h.

◆ mag_Vec4d

#define mag_Vec4d (   v)    (sqrt(dot_Vec4(v)))

Definition at line 38 of file ISMatrix.h.

◆ recipNorm_Vec2

#define recipNorm_Vec2 (   v)    (1.0f/mag_Vec2(v))

Definition at line 41 of file ISMatrix.h.

◆ recipNorm_Vec3

#define recipNorm_Vec3 (   v)    (1.0f/mag_Vec3(v))

Definition at line 42 of file ISMatrix.h.

◆ recipNorm_Vec3d

#define recipNorm_Vec3d (   v)    (1.0/mag_Vec3d(v))

Definition at line 49 of file ISMatrix.h.

◆ recipNorm_Vec4

#define recipNorm_Vec4 (   v)    (1.0f/mag_Vec4(v))

Definition at line 43 of file ISMatrix.h.

◆ recipNorm_Vec4d

#define recipNorm_Vec4d (   v)    (1.0/mag_Vec4d(v))

Definition at line 50 of file ISMatrix.h.

◆ set_Vec3_X

#define set_Vec3_X (   v,
 
)    { (v[0])=(x); (v[1])=(x); (v[2])=(x); }

Definition at line 62 of file ISMatrix.h.

◆ set_Vec4_X

#define set_Vec4_X (   v,
 
)    { (v[0])=(x); (v[1])=(x); (v[2])=(x); (v[3])=(x); }

Definition at line 63 of file ISMatrix.h.

◆ unwrap_Vec3

#define unwrap_Vec3 (   v)    {UNWRAP_RAD_F32(v[0]); UNWRAP_RAD_F32(v[1]); UNWRAP_RAD_F32(v[2]) }

Definition at line 52 of file ISMatrix.h.

◆ Vec3_AllGrtrThan_X

#define Vec3_AllGrtrThan_X (   v,
 
)    ( ((v[0])>(x)) && ((v[1])>(x)) && ((v[2])>(x)) )

Definition at line 57 of file ISMatrix.h.

◆ Vec3_AllLessThan_X

#define Vec3_AllLessThan_X (   v,
 
)    ( ((v[0])<(x)) && ((v[1])<(x)) && ((v[2])<(x)) )

Definition at line 56 of file ISMatrix.h.

◆ Vec3_IsAllZero

#define Vec3_IsAllZero (   v)    ( ((v[0])==(0.0f)) && ((v[1])==(0.0f)) && ((v[2])==(0.0f)) )

Definition at line 58 of file ISMatrix.h.

◆ Vec3_IsAnyNonZero

#define Vec3_IsAnyNonZero (   v)    ( ((v[0])!=(0.0f)) || ((v[1])!=(0.0f)) || ((v[2])!=(0.0f)) )

Definition at line 60 of file ISMatrix.h.

◆ Vec3_IsAnyZero

#define Vec3_IsAnyZero (   v)    ( ((v[0])==(0.0f)) || ((v[1])==(0.0f)) || ((v[2])==(0.0f)) )

Definition at line 59 of file ISMatrix.h.

◆ Vec3_OneGrtrThan_X

#define Vec3_OneGrtrThan_X (   v,
 
)    ( ((v[0])>(x)) || ((v[1])>(x)) || ((v[2])>(x)) )

Definition at line 55 of file ISMatrix.h.

◆ Vec3_OneLessThan_X

#define Vec3_OneLessThan_X (   v,
 
)    ( ((v[0])<(x)) || ((v[1])<(x)) || ((v[2])<(x)) )

Definition at line 54 of file ISMatrix.h.

Function Documentation

◆ abs_Vec2()

void abs_Vec2 ( Vector2  result,
const Vector2  v 
)

Definition at line 522 of file ISMatrix.c.

◆ abs_Vec2d()

void abs_Vec2d ( Vector2d  result,
const Vector2d  v 
)

Definition at line 528 of file ISMatrix.c.

◆ abs_Vec3()

void abs_Vec3 ( Vector3  result,
const Vector3  v 
)

Definition at line 534 of file ISMatrix.c.

◆ abs_Vec3d()

void abs_Vec3d ( Vector3d  result,
const Vector3d  v 
)

Definition at line 541 of file ISMatrix.c.

◆ abs_Vec4()

void abs_Vec4 ( Vector4  result,
const Vector4  v 
)

Definition at line 548 of file ISMatrix.c.

◆ abs_Vec4d()

void abs_Vec4d ( Vector4d  result,
const Vector4d  v 
)

Definition at line 556 of file ISMatrix.c.

◆ add_K1Vec3_K2Vec3()

void add_K1Vec3_K2Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2,
float  k1,
float  k2 
)

Definition at line 689 of file ISMatrix.c.

◆ add_Vec3_Vec3()

void add_Vec3_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 675 of file ISMatrix.c.

◆ add_Vec3d_Vec3d()

void add_Vec3d_Vec3d ( Vector3d  result,
const Vector3d  v1,
const Vector3d  v2 
)

Definition at line 682 of file ISMatrix.c.

◆ add_Vec4_Vec4()

void add_Vec4_Vec4 ( Vector4  result,
const Vector4  v1,
const Vector4  v2 
)

Definition at line 696 of file ISMatrix.c.

◆ add_Vec4d_Vec4d()

void add_Vec4d_Vec4d ( Vector4d  result,
const Vector4d  v1,
const Vector4d  v2 
)

Definition at line 704 of file ISMatrix.c.

◆ cpy_MatMxN()

static __inline void cpy_MatMxN ( f_t result,
const f_t M,
i_t  m,
i_t  n 
)
static

Definition at line 484 of file ISMatrix.h.

◆ cpy_MatRxC_MatMxN()

void cpy_MatRxC_MatMxN ( f_t result,
i_t  r,
i_t  c,
i_t  r_offset,
i_t  c_offset,
f_t A,
i_t  m,
i_t  n 
)

Definition at line 756 of file ISMatrix.c.

◆ cpy_Vec3_Vec3()

static __inline void cpy_Vec3_Vec3 ( Vector3  result,
const Vector3  v 
)
static

Definition at line 426 of file ISMatrix.h.

◆ cpy_Vec3_Vec3d()

static __inline void cpy_Vec3_Vec3d ( Vector3  result,
const Vector3d  v 
)
static

Definition at line 440 of file ISMatrix.h.

◆ cpy_Vec3d_Vec3()

static __inline void cpy_Vec3d_Vec3 ( Vector3d  result,
const Vector3  v 
)
static

Definition at line 434 of file ISMatrix.h.

◆ cpy_Vec3d_Vec3d()

static __inline void cpy_Vec3d_Vec3d ( Vector3d  result,
const Vector3d  v 
)
static

Definition at line 430 of file ISMatrix.h.

◆ cpy_Vec4_Vec4()

static __inline void cpy_Vec4_Vec4 ( Vector4  result,
const Vector4  v 
)
static

Definition at line 458 of file ISMatrix.h.

◆ cpy_Vec4_Vec4d()

static __inline void cpy_Vec4_Vec4d ( Vector4  result,
const Vector4d  v 
)
static

Definition at line 473 of file ISMatrix.h.

◆ cpy_Vec4d_Vec4()

static __inline void cpy_Vec4d_Vec4 ( Vector4d  result,
const Vector4  v 
)
static

Definition at line 466 of file ISMatrix.h.

◆ cpy_Vec4d_Vec4d()

static __inline void cpy_Vec4d_Vec4d ( Vector4d  result,
const Vector4d  v 
)
static

Definition at line 462 of file ISMatrix.h.

◆ cpy_VecN_VecN()

static __inline void cpy_VecN_VecN ( f_t result,
const f_t v,
i_t  n 
)
static

Definition at line 450 of file ISMatrix.h.

◆ cross_Vec3()

void cross_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 594 of file ISMatrix.c.

◆ crossd_Vec3()

void crossd_Vec3 ( Vector3d  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 601 of file ISMatrix.c.

◆ div_Vec3_Vec3()

void div_Vec3_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 734 of file ISMatrix.c.

◆ div_Vec3_X()

void div_Vec3_X ( Vector3  result,
const Vector3  v,
const f_t  x 
)

Definition at line 650 of file ISMatrix.c.

◆ div_Vec4_Vec4()

void div_Vec4_Vec4 ( Vector4  result,
const Vector4  v1,
const Vector4  v2 
)

Definition at line 741 of file ISMatrix.c.

◆ div_Vec4_X()

void div_Vec4_X ( Vector4  result,
const Vector4  v,
const f_t  x 
)

Definition at line 658 of file ISMatrix.c.

◆ div_Vec4d_X()

void div_Vec4d_X ( Vector4d  result,
const Vector4d  v,
const double  x 
)

Definition at line 666 of file ISMatrix.c.

◆ dot_Vec2_Vec2()

f_t dot_Vec2_Vec2 ( const Vector2  v1,
const Vector2  v2 
)

Definition at line 564 of file ISMatrix.c.

◆ dot_Vec3_Vec3()

f_t dot_Vec3_Vec3 ( const Vector3  v1,
const Vector3  v2 
)

Definition at line 570 of file ISMatrix.c.

◆ dot_Vec3d_Vec3d()

double dot_Vec3d_Vec3d ( const Vector3d  v1,
const Vector3d  v2 
)

Definition at line 577 of file ISMatrix.c.

◆ dot_Vec4_Vec4()

f_t dot_Vec4_Vec4 ( const Vector4  v1,
const Vector4  v2 
)

Definition at line 584 of file ISMatrix.c.

◆ eye_MatN()

void eye_MatN ( f_t A,
i_t  n 
)

Definition at line 119 of file ISMatrix.c.

◆ inv_Mat2()

char inv_Mat2 ( Matrix2  result,
Matrix2  m 
)

Definition at line 828 of file ISMatrix.c.

◆ inv_Mat3()

char inv_Mat3 ( Matrix3  result,
const Matrix3  m 
)

Definition at line 847 of file ISMatrix.c.

◆ inv_Mat4()

char inv_Mat4 ( Matrix4  result,
const Matrix4  m 
)

Definition at line 876 of file ISMatrix.c.

◆ inv_MatN()

char inv_MatN ( f_t result,
const f_t M,
i_t  n 
)

Definition at line 258 of file ISMatrix.c.

◆ is_equal_Vec3()

static __inline int is_equal_Vec3 ( const Vector3  v1,
const Vector3  v2 
)
static

Definition at line 562 of file ISMatrix.h.

◆ is_equal_Vec4()

static __inline int is_equal_Vec4 ( const Vector4  v1,
const Vector4  v2 
)
static

Definition at line 573 of file ISMatrix.h.

◆ is_zero()

static __inline char is_zero ( const f_t f)
static

Definition at line 92 of file ISMatrix.h.

◆ isFinite_array()

static __inline int isFinite_array ( f_t a,
int  size 
)
static

Definition at line 687 of file ISMatrix.h.

◆ isFinite_array_d()

static __inline int isFinite_array_d ( double *  a,
int  size 
)
static

Definition at line 702 of file ISMatrix.h.

◆ isInf_array()

static __inline int isInf_array ( f_t a,
int  size 
)
static

Definition at line 644 of file ISMatrix.h.

◆ isInf_array_d()

static __inline int isInf_array_d ( double *  a,
int  size 
)
static

Definition at line 664 of file ISMatrix.h.

◆ isNan_array()

static __inline int isNan_array ( f_t a,
int  size 
)
static

Definition at line 606 of file ISMatrix.h.

◆ isNan_array_d()

static __inline int isNan_array_d ( double *  a,
int  size 
)
static

Definition at line 623 of file ISMatrix.h.

◆ limit2_Vec3()

static __inline void limit2_Vec3 ( Vector3  v,
f_t  min,
f_t  max 
)
static

Definition at line 595 of file ISMatrix.h.

◆ limit_Vec3()

static __inline void limit_Vec3 ( Vector3  v,
f_t  limit 
)
static

Definition at line 585 of file ISMatrix.h.

◆ LPFO0_init_Vec3()

void LPFO0_init_Vec3 ( sLpfO0 lpf,
f_t  dt,
f_t  cornerFreqHz,
const Vector3  initVal 
)

Definition at line 1023 of file ISMatrix.c.

◆ LPFO0_Vec3()

void LPFO0_Vec3 ( sLpfO0 lpf,
const Vector3  input 
)

Definition at line 1036 of file ISMatrix.c.

◆ max_Vec3()

static __inline void max_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)
static

Definition at line 375 of file ISMatrix.h.

◆ max_Vec3_X()

static __inline f_t max_Vec3_X ( const Vector3  v)
static

Definition at line 349 of file ISMatrix.h.

◆ min_Vec3()

static __inline void min_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)
static

Definition at line 365 of file ISMatrix.h.

◆ min_Vec3_X()

static __inline f_t min_Vec3_X ( const Vector3  v)
static

Definition at line 333 of file ISMatrix.h.

◆ mul_Mat2x2_Trans_Vec2x1()

void mul_Mat2x2_Trans_Vec2x1 ( Vector2  result,
const Matrix2  m,
const Vector2  v 
)

Definition at line 424 of file ISMatrix.c.

◆ mul_Mat2x2_Vec2x1()

void mul_Mat2x2_Vec2x1 ( Vector2  result,
const Matrix2  m,
const Vector2  v 
)

Definition at line 418 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3()

void mul_Mat3x3_Mat3x3 ( Matrix3  result,
const Matrix3  m1,
const Matrix3  m2 
)

Definition at line 322 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_d()

void mul_Mat3x3_Mat3x3_d ( Matrix3d  result,
const Matrix3d  m1,
const Matrix3d  m2 
)

Definition at line 338 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_Trans()

void mul_Mat3x3_Mat3x3_Trans ( Matrix3  result,
const Matrix3  m1,
const Matrix3  m2 
)

Definition at line 386 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_Trans_d()

void mul_Mat3x3_Mat3x3_Trans_d ( Matrix3d  result,
const Matrix3d  m1,
const Matrix3d  m2 
)

Definition at line 402 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Mat3x3()

void mul_Mat3x3_Trans_Mat3x3 ( Matrix3  result,
const Matrix3  m1,
const Matrix3  m2 
)

Definition at line 354 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Mat3x3_d()

void mul_Mat3x3_Trans_Mat3x3_d ( Matrix3d  result,
const Matrix3d  m1,
const Matrix3d  m2 
)

Definition at line 370 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Vec3x1()

void mul_Mat3x3_Trans_Vec3x1 ( Vector3  result,
const Matrix3  m,
const Vector3  v 
)

Definition at line 437 of file ISMatrix.c.

◆ mul_Mat3x3_Vec3x1()

void mul_Mat3x3_Vec3x1 ( Vector3  result,
const Matrix3  m,
const Vector3  v 
)

Definition at line 430 of file ISMatrix.c.

◆ mul_Mat4x4_Trans_Vec4x1()

void mul_Mat4x4_Trans_Vec4x1 ( Vector4  result,
const Matrix4  m,
const Vector4  v 
)

Definition at line 452 of file ISMatrix.c.

◆ mul_Mat4x4_Vec4x1()

void mul_Mat4x4_Vec4x1 ( Vector4  result,
const Matrix4  m,
const Vector4  v 
)

Definition at line 444 of file ISMatrix.c.

◆ mul_MatMxN()

void mul_MatMxN ( void *  result,
const void *  A_ptr,
const void *  B_ptr,
i_t  m,
i_t  n,
i_t  p,
char  transpose_B,
char  add 
)

Definition at line 22 of file ISMatrix.c.

◆ mul_Vec2_X()

void mul_Vec2_X ( Vector2  result,
const Vector2  v,
const f_t  x 
)

Definition at line 608 of file ISMatrix.c.

◆ mul_Vec2d_X()

void mul_Vec2d_X ( Vector2d  result,
const Vector2d  v,
const double  x 
)

Definition at line 614 of file ISMatrix.c.

◆ mul_Vec3_Vec3()

void mul_Vec3_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 492 of file ISMatrix.c.

◆ mul_Vec3_X()

void mul_Vec3_X ( Vector3  result,
const Vector3  v,
const f_t  x 
)

Definition at line 620 of file ISMatrix.c.

◆ mul_Vec3d_X()

void mul_Vec3d_X ( Vector3d  result,
const Vector3d  v,
const double  x 
)

Definition at line 627 of file ISMatrix.c.

◆ mul_Vec3x1_Vec1x3()

void mul_Vec3x1_Vec1x3 ( Matrix3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 476 of file ISMatrix.c.

◆ mul_Vec4_Vec4()

void mul_Vec4_Vec4 ( Vector4  result,
const Vector4  v1,
const Vector4  v2 
)

Definition at line 499 of file ISMatrix.c.

◆ mul_Vec4_X()

void mul_Vec4_X ( Vector4  result,
const Vector4  v,
const f_t  x 
)

Definition at line 634 of file ISMatrix.c.

◆ mul_Vec4d_X()

void mul_Vec4d_X ( Vector4d  result,
const Vector4d  v,
const double  x 
)

Definition at line 642 of file ISMatrix.c.

◆ neg_Mat3x3()

void neg_Mat3x3 ( Matrix3  result,
const Matrix3  m 
)

Definition at line 460 of file ISMatrix.c.

◆ neg_Vec3()

void neg_Vec3 ( Vector3  result,
const Vector3  v 
)

Definition at line 749 of file ISMatrix.c.

◆ normalize_Vec2()

static __inline void normalize_Vec2 ( Vector2  v)
static

Definition at line 530 of file ISMatrix.h.

◆ normalize_Vec3()

static __inline void normalize_Vec3 ( Vector3  result,
const Vector3  v 
)
static

Definition at line 539 of file ISMatrix.h.

◆ normalize_Vec4()

static __inline void normalize_Vec4 ( Vector4  result,
const Vector4  v 
)
static

Definition at line 548 of file ISMatrix.h.

◆ normalize_Vec4d()

static __inline void normalize_Vec4d ( Vector4d  result,
const Vector4d  v 
)
static

Definition at line 553 of file ISMatrix.h.

◆ O0_LPF_Vec3()

static __inline void O0_LPF_Vec3 ( Vector3  result,
const Vector3  input,
f_t  alph,
f_t  beta 
)
static

Definition at line 720 of file ISMatrix.h.

◆ O1_LPF_Vec3()

static __inline void O1_LPF_Vec3 ( Vector3  result,
const Vector3  input,
Vector3  c1,
f_t  alph,
f_t  beta,
f_t  dt 
)
static

Definition at line 732 of file ISMatrix.h.

◆ sqrt_Vec3()

void sqrt_Vec3 ( Vector3  result,
const Vector3  v 
)

Definition at line 507 of file ISMatrix.c.

◆ sqrt_Vec4()

void sqrt_Vec4 ( Vector4  result,
const Vector4  v 
)

Definition at line 514 of file ISMatrix.c.

◆ sub_Vec3_Vec3()

void sub_Vec3_Vec3 ( Vector3  result,
const Vector3  v1,
const Vector3  v2 
)

Definition at line 712 of file ISMatrix.c.

◆ sub_Vec3d_Vec3d()

void sub_Vec3d_Vec3d ( Vector3d  result,
const Vector3d  v1,
const Vector3d  v2 
)

Definition at line 719 of file ISMatrix.c.

◆ sub_Vec4_Vec4()

void sub_Vec4_Vec4 ( Vector4  result,
const Vector4  v1,
const Vector4  v2 
)

Definition at line 726 of file ISMatrix.c.

◆ trans_MatMxN()

void trans_MatMxN ( f_t result,
const f_t M,
int  m,
int  n 
)

Definition at line 298 of file ISMatrix.c.

◆ transpose_Mat2()

void transpose_Mat2 ( Matrix2  result,
const Matrix2  m 
)

Definition at line 778 of file ISMatrix.c.

◆ transpose_Mat3()

void transpose_Mat3 ( Matrix3  result,
const Matrix3  m 
)

Definition at line 788 of file ISMatrix.c.

◆ transpose_Mat4()

void transpose_Mat4 ( Matrix4  result,
const Matrix4  m 
)

Definition at line 804 of file ISMatrix.c.

◆ zero_MatMxN()

static __inline void zero_MatMxN ( f_t M,
i_t  m,
i_t  n 
)
static

Definition at line 417 of file ISMatrix.h.

◆ zero_Vec3()

static __inline void zero_Vec3 ( Vector3  v)
static

Definition at line 385 of file ISMatrix.h.

◆ zero_Vec3d()

static __inline void zero_Vec3d ( Vector3d  v)
static

Definition at line 389 of file ISMatrix.h.

◆ zero_Vec4()

static __inline void zero_Vec4 ( Vector4  v)
static

Definition at line 397 of file ISMatrix.h.

◆ zero_Vec4d()

static __inline void zero_Vec4d ( Vector4d  v)
static

Definition at line 401 of file ISMatrix.h.

◆ zero_VecN()

static __inline void zero_VecN ( f_t v,
i_t  n 
)
static

Definition at line 409 of file ISMatrix.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:06