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 (ixVector2 result, const ixVector2 v) |
void | abs_Vec2d (ixVector2d result, const ixVector2d v) |
void | abs_Vec3 (ixVector3 result, const ixVector3 v) |
void | abs_Vec3d (ixVector3d result, const ixVector3d v) |
void | abs_Vec4 (ixVector4 result, const ixVector4 v) |
void | abs_Vec4d (ixVector4d result, const ixVector4d v) |
void | add_K1Vec3_K2Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2, float k1, float k2) |
void | add_Vec3_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
void | add_Vec3d_Vec3d (ixVector3d result, const ixVector3d v1, const ixVector3d v2) |
void | add_Vec4_Vec4 (ixVector4 result, const ixVector4 v1, const ixVector4 v2) |
void | add_Vec4d_Vec4d (ixVector4d result, const ixVector4d v1, const ixVector4d 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 (ixVector3 result, const ixVector3 v) |
static __inline void | cpy_Vec3_Vec3d (ixVector3 result, const ixVector3d v) |
static __inline void | cpy_Vec3d_Vec3 (ixVector3d result, const ixVector3 v) |
static __inline void | cpy_Vec3d_Vec3d (ixVector3d result, const ixVector3d v) |
static __inline void | cpy_Vec4_Vec4 (ixVector4 result, const ixVector4 v) |
static __inline void | cpy_Vec4_Vec4d (ixVector4 result, const ixVector4d v) |
static __inline void | cpy_Vec4d_Vec4 (ixVector4d result, const ixVector4 v) |
static __inline void | cpy_Vec4d_Vec4d (ixVector4d result, const ixVector4d v) |
static __inline void | cpy_VecN_VecN (f_t *result, const f_t *v, i_t n) |
void | cross_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
void | crossd_Vec3 (ixVector3d result, const ixVector3 v1, const ixVector3 v2) |
void | div_Vec3_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
void | div_Vec3_X (ixVector3 result, const ixVector3 v, const f_t x) |
void | div_Vec4_Vec4 (ixVector4 result, const ixVector4 v1, const ixVector4 v2) |
void | div_Vec4_X (ixVector4 result, const ixVector4 v, const f_t x) |
void | div_Vec4d_X (ixVector4d result, const ixVector4d v, const double x) |
f_t | dot_Vec2_Vec2 (const ixVector2 v1, const ixVector2 v2) |
f_t | dot_Vec3_Vec3 (const ixVector3 v1, const ixVector3 v2) |
double | dot_Vec3d_Vec3d (const ixVector3d v1, const ixVector3d v2) |
f_t | dot_Vec4_Vec4 (const ixVector4 v1, const ixVector4 v2) |
void | eye_MatN (f_t *A, i_t n) |
char | inv_Mat2 (ixMatrix2 result, ixMatrix2 m) |
char | inv_Mat3 (ixMatrix3 result, const ixMatrix3 m) |
char | inv_Mat4 (ixMatrix4 result, const ixMatrix4 m) |
char | inv_MatN (f_t *result, const f_t *M, i_t n) |
static __inline int | is_equal_Vec2 (const ixVector2 v1, const ixVector2 v2) |
static __inline int | is_equal_Vec3 (const ixVector3 v1, const ixVector3 v2) |
static __inline int | is_equal_Vec4 (const ixVector4 v1, const ixVector4 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 (ixVector3 v, f_t min, f_t max) |
static __inline void | limit_Vec3 (ixVector3 v, f_t limit) |
void | LPFO0_init_Vec3 (sLpfO0 *lpf, f_t dt, f_t cornerFreqHz, const ixVector3 initVal) |
void | LPFO0_Vec3 (sLpfO0 *lpf, const ixVector3 input) |
static __inline void | max_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
static __inline f_t | max_Vec3_X (const ixVector3 v) |
static __inline void | min_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
static __inline f_t | min_Vec3_X (const ixVector3 v) |
void | mul_Mat2x2_Trans_Vec2x1 (ixVector2 result, const ixMatrix2 m, const ixVector2 v) |
void | mul_Mat2x2_Vec2x1 (ixVector2 result, const ixMatrix2 m, const ixVector2 v) |
void | mul_Mat3x3_Mat3x3 (ixMatrix3 result, const ixMatrix3 m1, const ixMatrix3 m2) |
void | mul_Mat3x3_Mat3x3_d (ixMatrix3d result, const ixMatrix3d m1, const ixMatrix3d m2) |
void | mul_Mat3x3_Mat3x3_Trans (ixMatrix3 result, const ixMatrix3 m1, const ixMatrix3 m2) |
void | mul_Mat3x3_Mat3x3_Trans_d (ixMatrix3d result, const ixMatrix3d m1, const ixMatrix3d m2) |
void | mul_Mat3x3_Trans_Mat3x3 (ixMatrix3 result, const ixMatrix3 m1, const ixMatrix3 m2) |
void | mul_Mat3x3_Trans_Mat3x3_d (ixMatrix3d result, const ixMatrix3d m1, const ixMatrix3d m2) |
void | mul_Mat3x3_Trans_Vec3x1 (ixVector3 result, const ixMatrix3 m, const ixVector3 v) |
void | mul_Mat3x3_Vec3x1 (ixVector3 result, const ixMatrix3 m, const ixVector3 v) |
void | mul_Mat4x4_Trans_Vec4x1 (ixVector4 result, const ixMatrix4 m, const ixVector4 v) |
void | mul_Mat4x4_Vec4x1 (ixVector4 result, const ixMatrix4 m, const ixVector4 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 (ixVector2 result, const ixVector2 v, const f_t x) |
void | mul_Vec2d_X (ixVector2d result, const ixVector2d v, const double x) |
void | mul_Vec3_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
void | mul_Vec3_X (ixVector3 result, const ixVector3 v, const f_t x) |
void | mul_Vec3d_X (ixVector3d result, const ixVector3d v, const double x) |
void | mul_Vec3x1_Vec1x3 (ixMatrix3 result, const ixVector3 v1, const ixVector3 v2) |
void | mul_Vec4_Vec4 (ixVector4 result, const ixVector4 v1, const ixVector4 v2) |
void | mul_Vec4_X (ixVector4 result, const ixVector4 v, const f_t x) |
void | mul_Vec4d_X (ixVector4d result, const ixVector4d v, const double x) |
void | neg_Mat3x3 (ixMatrix3 result, const ixMatrix3 m) |
void | neg_Vec3 (ixVector3 result, const ixVector3 v) |
static __inline void | normalize_Vec2 (ixVector2 v) |
static __inline void | normalize_Vec3 (ixVector3 result, const ixVector3 v) |
static __inline void | normalize_Vec4 (ixVector4 result, const ixVector4 v) |
static __inline void | normalize_Vec4d (ixVector4d result, const ixVector4d v) |
static __inline void | O0_LPF_Vec3 (ixVector3 result, const ixVector3 input, f_t alph, f_t beta) |
static __inline void | O1_LPF_Vec3 (ixVector3 result, const ixVector3 input, ixVector3 c1, f_t alph, f_t beta, f_t dt) |
void | sqrt_Vec3 (ixVector3 result, const ixVector3 v) |
void | sqrt_Vec4 (ixVector4 result, const ixVector4 v) |
void | sub_Vec3_Vec3 (ixVector3 result, const ixVector3 v1, const ixVector3 v2) |
void | sub_Vec3d_Vec3d (ixVector3d result, const ixVector3d v1, const ixVector3d v2) |
void | sub_Vec4_Vec4 (ixVector4 result, const ixVector4 v1, const ixVector4 v2) |
void | trans_MatMxN (f_t *result, const f_t *M, int m, int n) |
void | transpose_Mat2 (ixMatrix2 result, const ixMatrix2 m) |
void | transpose_Mat3 (ixMatrix3 result, const ixMatrix3 m) |
void | transpose_Mat4 (ixMatrix4 result, const ixMatrix4 m) |
static __inline void | zero_MatMxN (f_t *M, i_t m, i_t n) |
static __inline void | zero_Vec3 (ixVector3 v) |
static __inline void | zero_Vec3d (ixVector3d v) |
static __inline void | zero_Vec4 (ixVector4 v) |
static __inline void | zero_Vec4d (ixVector4d v) |
static __inline void | zero_VecN (f_t *v, i_t n) |
#define dot_Vec2 | ( | v | ) | ((v)[0]*(v)[0] + (v)[1]*(v)[1]) |
Definition at line 28 of file ISMatrix.h.
#define dot_Vec3 | ( | v | ) | ((v)[0]*(v)[0] + (v)[1]*(v)[1] + (v)[2]*(v)[2]) |
Definition at line 29 of file ISMatrix.h.
#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.
Definition at line 33 of file ISMatrix.h.
#define mag_Vec2d | ( | v | ) | (sqrt(dot_Vec2(v))) |
Definition at line 36 of file ISMatrix.h.
Definition at line 34 of file ISMatrix.h.
#define mag_Vec3d | ( | v | ) | (sqrt(dot_Vec3(v))) |
Definition at line 37 of file ISMatrix.h.
Definition at line 35 of file ISMatrix.h.
#define mag_Vec4d | ( | v | ) | (sqrt(dot_Vec4(v))) |
Definition at line 38 of file ISMatrix.h.
#define recipNorm_Vec2 | ( | v | ) | (1.0f/mag_Vec2(v)) |
Definition at line 41 of file ISMatrix.h.
#define recipNorm_Vec3 | ( | v | ) | (1.0f/mag_Vec3(v)) |
Definition at line 42 of file ISMatrix.h.
#define recipNorm_Vec3d | ( | v | ) | (1.0/mag_Vec3d(v)) |
Definition at line 49 of file ISMatrix.h.
#define recipNorm_Vec4 | ( | v | ) | (1.0f/mag_Vec4(v)) |
Definition at line 43 of file ISMatrix.h.
#define recipNorm_Vec4d | ( | v | ) | (1.0/mag_Vec4d(v)) |
Definition at line 50 of file ISMatrix.h.
#define set_Vec3_X | ( | v, | |
x | |||
) | { (v[0])=(x); (v[1])=(x); (v[2])=(x); } |
Definition at line 62 of file ISMatrix.h.
#define set_Vec4_X | ( | v, | |
x | |||
) | { (v[0])=(x); (v[1])=(x); (v[2])=(x); (v[3])=(x); } |
Definition at line 63 of file ISMatrix.h.
#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.
#define Vec3_AllGrtrThan_X | ( | v, | |
x | |||
) | ( ((v[0])>(x)) && ((v[1])>(x)) && ((v[2])>(x)) ) |
Definition at line 57 of file ISMatrix.h.
#define Vec3_AllLessThan_X | ( | v, | |
x | |||
) | ( ((v[0])<(x)) && ((v[1])<(x)) && ((v[2])<(x)) ) |
Definition at line 56 of file ISMatrix.h.
#define Vec3_IsAllZero | ( | v | ) | ( ((v[0])==(0.0f)) && ((v[1])==(0.0f)) && ((v[2])==(0.0f)) ) |
Definition at line 58 of file ISMatrix.h.
#define Vec3_IsAnyNonZero | ( | v | ) | ( ((v[0])!=(0.0f)) || ((v[1])!=(0.0f)) || ((v[2])!=(0.0f)) ) |
Definition at line 60 of file ISMatrix.h.
#define Vec3_IsAnyZero | ( | v | ) | ( ((v[0])==(0.0f)) || ((v[1])==(0.0f)) || ((v[2])==(0.0f)) ) |
Definition at line 59 of file ISMatrix.h.
#define Vec3_OneGrtrThan_X | ( | v, | |
x | |||
) | ( ((v[0])>(x)) || ((v[1])>(x)) || ((v[2])>(x)) ) |
Definition at line 55 of file ISMatrix.h.
#define Vec3_OneLessThan_X | ( | v, | |
x | |||
) | ( ((v[0])<(x)) || ((v[1])<(x)) || ((v[2])<(x)) ) |
Definition at line 54 of file ISMatrix.h.
Definition at line 522 of file ISMatrix.c.
void abs_Vec2d | ( | ixVector2d | result, |
const ixVector2d | v | ||
) |
Definition at line 528 of file ISMatrix.c.
Definition at line 534 of file ISMatrix.c.
void abs_Vec3d | ( | ixVector3d | result, |
const ixVector3d | v | ||
) |
Definition at line 541 of file ISMatrix.c.
Definition at line 548 of file ISMatrix.c.
void abs_Vec4d | ( | ixVector4d | result, |
const ixVector4d | v | ||
) |
Definition at line 556 of file ISMatrix.c.
void add_K1Vec3_K2Vec3 | ( | ixVector3 | result, |
const ixVector3 | v1, | ||
const ixVector3 | v2, | ||
float | k1, | ||
float | k2 | ||
) |
Definition at line 689 of file ISMatrix.c.
Definition at line 675 of file ISMatrix.c.
void add_Vec3d_Vec3d | ( | ixVector3d | result, |
const ixVector3d | v1, | ||
const ixVector3d | v2 | ||
) |
Definition at line 682 of file ISMatrix.c.
Definition at line 696 of file ISMatrix.c.
void add_Vec4d_Vec4d | ( | ixVector4d | result, |
const ixVector4d | v1, | ||
const ixVector4d | v2 | ||
) |
Definition at line 704 of file ISMatrix.c.
Definition at line 484 of file ISMatrix.h.
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.
Definition at line 426 of file ISMatrix.h.
|
static |
Definition at line 440 of file ISMatrix.h.
|
static |
Definition at line 434 of file ISMatrix.h.
|
static |
Definition at line 430 of file ISMatrix.h.
Definition at line 458 of file ISMatrix.h.
|
static |
Definition at line 473 of file ISMatrix.h.
|
static |
Definition at line 466 of file ISMatrix.h.
|
static |
Definition at line 462 of file ISMatrix.h.
Definition at line 450 of file ISMatrix.h.
Definition at line 594 of file ISMatrix.c.
void crossd_Vec3 | ( | ixVector3d | result, |
const ixVector3 | v1, | ||
const ixVector3 | v2 | ||
) |
Definition at line 601 of file ISMatrix.c.
Definition at line 734 of file ISMatrix.c.
Definition at line 650 of file ISMatrix.c.
Definition at line 741 of file ISMatrix.c.
Definition at line 658 of file ISMatrix.c.
void div_Vec4d_X | ( | ixVector4d | result, |
const ixVector4d | v, | ||
const double | x | ||
) |
Definition at line 666 of file ISMatrix.c.
Definition at line 564 of file ISMatrix.c.
Definition at line 570 of file ISMatrix.c.
double dot_Vec3d_Vec3d | ( | const ixVector3d | v1, |
const ixVector3d | v2 | ||
) |
Definition at line 577 of file ISMatrix.c.
Definition at line 584 of file ISMatrix.c.
Definition at line 119 of file ISMatrix.c.
Definition at line 828 of file ISMatrix.c.
Definition at line 847 of file ISMatrix.c.
Definition at line 876 of file ISMatrix.c.
Definition at line 258 of file ISMatrix.c.
Definition at line 562 of file ISMatrix.h.
Definition at line 572 of file ISMatrix.h.
Definition at line 583 of file ISMatrix.h.
|
static |
Definition at line 92 of file ISMatrix.h.
|
static |
Definition at line 697 of file ISMatrix.h.
|
static |
Definition at line 712 of file ISMatrix.h.
|
static |
Definition at line 654 of file ISMatrix.h.
|
static |
Definition at line 674 of file ISMatrix.h.
|
static |
Definition at line 616 of file ISMatrix.h.
|
static |
Definition at line 633 of file ISMatrix.h.
Definition at line 605 of file ISMatrix.h.
Definition at line 595 of file ISMatrix.h.
Definition at line 1023 of file ISMatrix.c.
Definition at line 1036 of file ISMatrix.c.
Definition at line 375 of file ISMatrix.h.
Definition at line 349 of file ISMatrix.h.
Definition at line 365 of file ISMatrix.h.
Definition at line 333 of file ISMatrix.h.
Definition at line 424 of file ISMatrix.c.
Definition at line 418 of file ISMatrix.c.
Definition at line 322 of file ISMatrix.c.
void mul_Mat3x3_Mat3x3_d | ( | ixMatrix3d | result, |
const ixMatrix3d | m1, | ||
const ixMatrix3d | m2 | ||
) |
Definition at line 338 of file ISMatrix.c.
Definition at line 386 of file ISMatrix.c.
void mul_Mat3x3_Mat3x3_Trans_d | ( | ixMatrix3d | result, |
const ixMatrix3d | m1, | ||
const ixMatrix3d | m2 | ||
) |
Definition at line 402 of file ISMatrix.c.
Definition at line 354 of file ISMatrix.c.
void mul_Mat3x3_Trans_Mat3x3_d | ( | ixMatrix3d | result, |
const ixMatrix3d | m1, | ||
const ixMatrix3d | m2 | ||
) |
Definition at line 370 of file ISMatrix.c.
Definition at line 437 of file ISMatrix.c.
Definition at line 430 of file ISMatrix.c.
Definition at line 452 of file ISMatrix.c.
Definition at line 444 of file ISMatrix.c.
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.
Definition at line 608 of file ISMatrix.c.
void mul_Vec2d_X | ( | ixVector2d | result, |
const ixVector2d | v, | ||
const double | x | ||
) |
Definition at line 614 of file ISMatrix.c.
Definition at line 492 of file ISMatrix.c.
Definition at line 620 of file ISMatrix.c.
void mul_Vec3d_X | ( | ixVector3d | result, |
const ixVector3d | v, | ||
const double | x | ||
) |
Definition at line 627 of file ISMatrix.c.
Definition at line 476 of file ISMatrix.c.
Definition at line 499 of file ISMatrix.c.
Definition at line 634 of file ISMatrix.c.
void mul_Vec4d_X | ( | ixVector4d | result, |
const ixVector4d | v, | ||
const double | x | ||
) |
Definition at line 642 of file ISMatrix.c.
Definition at line 460 of file ISMatrix.c.
Definition at line 749 of file ISMatrix.c.
|
static |
Definition at line 530 of file ISMatrix.h.
Definition at line 539 of file ISMatrix.h.
Definition at line 548 of file ISMatrix.h.
|
static |
Definition at line 553 of file ISMatrix.h.
|
static |
Definition at line 730 of file ISMatrix.h.
|
static |
Definition at line 742 of file ISMatrix.h.
Definition at line 507 of file ISMatrix.c.
Definition at line 514 of file ISMatrix.c.
Definition at line 712 of file ISMatrix.c.
void sub_Vec3d_Vec3d | ( | ixVector3d | result, |
const ixVector3d | v1, | ||
const ixVector3d | v2 | ||
) |
Definition at line 719 of file ISMatrix.c.
Definition at line 726 of file ISMatrix.c.
Definition at line 298 of file ISMatrix.c.
Definition at line 778 of file ISMatrix.c.
Definition at line 788 of file ISMatrix.c.
Definition at line 804 of file ISMatrix.c.
Definition at line 417 of file ISMatrix.h.
|
static |
Definition at line 385 of file ISMatrix.h.
|
static |
Definition at line 389 of file ISMatrix.h.
|
static |
Definition at line 397 of file ISMatrix.h.
|
static |
Definition at line 401 of file ISMatrix.h.
Definition at line 409 of file ISMatrix.h.