Functions
ISMatrix.c File Reference
#include <string.h>
#include <stdlib.h>
#include "ISMatrix.h"
#include "data_sets.h"
Include dependency graph for ISMatrix.c:

Go to the source code of this file.

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)
 
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)
 
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)
 
void LPFO0_init_Vec3 (sLpfO0 *lpf, f_t dt, f_t cornerFreqHz, const ixVector3 initVal)
 
void LPFO0_Vec3 (sLpfO0 *lpf, const ixVector3 input)
 
void LU (const f_t *M, i_t n, f_t *L, f_t *U)
 
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)
 
char solve_lower (f_t *result, i_t n, f_t *A, f_t *b)
 
char solve_upper (f_t *result, i_t n, f_t *A, f_t *b)
 
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)
 

Function Documentation

◆ abs_Vec2()

void abs_Vec2 ( ixVector2  result,
const ixVector2  v 
)

Definition at line 522 of file ISMatrix.c.

◆ abs_Vec2d()

void abs_Vec2d ( ixVector2d  result,
const ixVector2d  v 
)

Definition at line 528 of file ISMatrix.c.

◆ abs_Vec3()

void abs_Vec3 ( ixVector3  result,
const ixVector3  v 
)

Definition at line 534 of file ISMatrix.c.

◆ abs_Vec3d()

void abs_Vec3d ( ixVector3d  result,
const ixVector3d  v 
)

Definition at line 541 of file ISMatrix.c.

◆ abs_Vec4()

void abs_Vec4 ( ixVector4  result,
const ixVector4  v 
)

Definition at line 548 of file ISMatrix.c.

◆ abs_Vec4d()

void abs_Vec4d ( ixVector4d  result,
const ixVector4d  v 
)

Definition at line 556 of file ISMatrix.c.

◆ add_K1Vec3_K2Vec3()

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

Definition at line 689 of file ISMatrix.c.

◆ add_Vec3_Vec3()

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

Definition at line 675 of file ISMatrix.c.

◆ add_Vec3d_Vec3d()

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

Definition at line 682 of file ISMatrix.c.

◆ add_Vec4_Vec4()

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

Definition at line 696 of file ISMatrix.c.

◆ add_Vec4d_Vec4d()

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

Definition at line 704 of file ISMatrix.c.

◆ 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.

◆ cross_Vec3()

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

Definition at line 594 of file ISMatrix.c.

◆ crossd_Vec3()

void crossd_Vec3 ( ixVector3d  result,
const ixVector3  v1,
const ixVector3  v2 
)

Definition at line 601 of file ISMatrix.c.

◆ div_Vec3_Vec3()

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

Definition at line 734 of file ISMatrix.c.

◆ div_Vec3_X()

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

Definition at line 650 of file ISMatrix.c.

◆ div_Vec4_Vec4()

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

Definition at line 741 of file ISMatrix.c.

◆ div_Vec4_X()

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

Definition at line 658 of file ISMatrix.c.

◆ div_Vec4d_X()

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

Definition at line 666 of file ISMatrix.c.

◆ dot_Vec2_Vec2()

f_t dot_Vec2_Vec2 ( const ixVector2  v1,
const ixVector2  v2 
)

Definition at line 564 of file ISMatrix.c.

◆ dot_Vec3_Vec3()

f_t dot_Vec3_Vec3 ( const ixVector3  v1,
const ixVector3  v2 
)

Definition at line 570 of file ISMatrix.c.

◆ dot_Vec3d_Vec3d()

double dot_Vec3d_Vec3d ( const ixVector3d  v1,
const ixVector3d  v2 
)

Definition at line 577 of file ISMatrix.c.

◆ dot_Vec4_Vec4()

f_t dot_Vec4_Vec4 ( const ixVector4  v1,
const ixVector4  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 ( ixMatrix2  result,
ixMatrix2  m 
)

Definition at line 828 of file ISMatrix.c.

◆ inv_Mat3()

char inv_Mat3 ( ixMatrix3  result,
const ixMatrix3  m 
)

Definition at line 847 of file ISMatrix.c.

◆ inv_Mat4()

char inv_Mat4 ( ixMatrix4  result,
const ixMatrix4  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.

◆ LPFO0_init_Vec3()

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

Definition at line 1023 of file ISMatrix.c.

◆ LPFO0_Vec3()

void LPFO0_Vec3 ( sLpfO0 lpf,
const ixVector3  input 
)

Definition at line 1036 of file ISMatrix.c.

◆ LU()

void LU ( const f_t M,
i_t  n,
f_t L,
f_t U 
)

Definition at line 130 of file ISMatrix.c.

◆ mul_Mat2x2_Trans_Vec2x1()

void mul_Mat2x2_Trans_Vec2x1 ( ixVector2  result,
const ixMatrix2  m,
const ixVector2  v 
)

Definition at line 424 of file ISMatrix.c.

◆ mul_Mat2x2_Vec2x1()

void mul_Mat2x2_Vec2x1 ( ixVector2  result,
const ixMatrix2  m,
const ixVector2  v 
)

Definition at line 418 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3()

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

Definition at line 322 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_d()

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

Definition at line 338 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_Trans()

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

Definition at line 386 of file ISMatrix.c.

◆ mul_Mat3x3_Mat3x3_Trans_d()

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

Definition at line 402 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Mat3x3()

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

Definition at line 354 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Mat3x3_d()

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

Definition at line 370 of file ISMatrix.c.

◆ mul_Mat3x3_Trans_Vec3x1()

void mul_Mat3x3_Trans_Vec3x1 ( ixVector3  result,
const ixMatrix3  m,
const ixVector3  v 
)

Definition at line 437 of file ISMatrix.c.

◆ mul_Mat3x3_Vec3x1()

void mul_Mat3x3_Vec3x1 ( ixVector3  result,
const ixMatrix3  m,
const ixVector3  v 
)

Definition at line 430 of file ISMatrix.c.

◆ mul_Mat4x4_Trans_Vec4x1()

void mul_Mat4x4_Trans_Vec4x1 ( ixVector4  result,
const ixMatrix4  m,
const ixVector4  v 
)

Definition at line 452 of file ISMatrix.c.

◆ mul_Mat4x4_Vec4x1()

void mul_Mat4x4_Vec4x1 ( ixVector4  result,
const ixMatrix4  m,
const ixVector4  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 ( ixVector2  result,
const ixVector2  v,
const f_t  x 
)

Definition at line 608 of file ISMatrix.c.

◆ mul_Vec2d_X()

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

Definition at line 614 of file ISMatrix.c.

◆ mul_Vec3_Vec3()

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

Definition at line 492 of file ISMatrix.c.

◆ mul_Vec3_X()

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

Definition at line 620 of file ISMatrix.c.

◆ mul_Vec3d_X()

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

Definition at line 627 of file ISMatrix.c.

◆ mul_Vec3x1_Vec1x3()

void mul_Vec3x1_Vec1x3 ( ixMatrix3  result,
const ixVector3  v1,
const ixVector3  v2 
)

Definition at line 476 of file ISMatrix.c.

◆ mul_Vec4_Vec4()

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

Definition at line 499 of file ISMatrix.c.

◆ mul_Vec4_X()

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

Definition at line 634 of file ISMatrix.c.

◆ mul_Vec4d_X()

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

Definition at line 642 of file ISMatrix.c.

◆ neg_Mat3x3()

void neg_Mat3x3 ( ixMatrix3  result,
const ixMatrix3  m 
)

Definition at line 460 of file ISMatrix.c.

◆ neg_Vec3()

void neg_Vec3 ( ixVector3  result,
const ixVector3  v 
)

Definition at line 749 of file ISMatrix.c.

◆ solve_lower()

char solve_lower ( f_t result,
i_t  n,
f_t A,
f_t b 
)

Definition at line 222 of file ISMatrix.c.

◆ solve_upper()

char solve_upper ( f_t result,
i_t  n,
f_t A,
f_t b 
)

Definition at line 187 of file ISMatrix.c.

◆ sqrt_Vec3()

void sqrt_Vec3 ( ixVector3  result,
const ixVector3  v 
)

Definition at line 507 of file ISMatrix.c.

◆ sqrt_Vec4()

void sqrt_Vec4 ( ixVector4  result,
const ixVector4  v 
)

Definition at line 514 of file ISMatrix.c.

◆ sub_Vec3_Vec3()

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

Definition at line 712 of file ISMatrix.c.

◆ sub_Vec3d_Vec3d()

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

Definition at line 719 of file ISMatrix.c.

◆ sub_Vec4_Vec4()

void sub_Vec4_Vec4 ( ixVector4  result,
const ixVector4  v1,
const ixVector4  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 ( ixMatrix2  result,
const ixMatrix2  m 
)

Definition at line 778 of file ISMatrix.c.

◆ transpose_Mat3()

void transpose_Mat3 ( ixMatrix3  result,
const ixMatrix3  m 
)

Definition at line 788 of file ISMatrix.c.

◆ transpose_Mat4()

void transpose_Mat4 ( ixMatrix4  result,
const ixMatrix4  m 
)

Definition at line 804 of file ISMatrix.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59