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 (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)
 
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 (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)
 
void LPFO0_init_Vec3 (sLpfO0 *lpf, f_t dt, f_t cornerFreqHz, const Vector3 initVal)
 
void LPFO0_Vec3 (sLpfO0 *lpf, const Vector3 input)
 
void LU (const f_t *M, i_t n, f_t *L, f_t *U)
 
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)
 
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 (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)
 

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_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 ( 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.

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

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

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



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