ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
matrix.c File Reference
#include "math.h"
#include "matrix.h"
Include dependency graph for matrix.c:

Go to the source code of this file.

Macros

#define CORRUPTMATRIX   0.001F
 
#define NITERATIONS   15
 
#define NITERATIONS   15
 

Functions

void f3x3matrixAeqI (float A[][3])
 
void f3x3matrixAeqB (float A[][3], float B[][3])
 
void fmatrixAeqI (float *A[], int16 rc)
 
void f3x3matrixAeqScalar (float A[][3], float Scalar)
 
void f3x3matrixAeqAxScalar (float A[][3], float Scalar)
 
void f3x3matrixAeqMinusA (float A[][3])
 
void f3x3matrixAeqInvSymB (float A[][3], float B[][3])
 
float f3x3matrixDetA (float A[][3])
 
void eigencompute10 (float A[][10], float eigval[], float eigvec[][10], int8 n)
 
void eigencompute4 (float A[][4], float eigval[], float eigvec[][4], int8 n)
 
void fmatrixAeqInvA (float *A[], int8 iColInd[], int8 iRowInd[], int8 iPivot[], int8 isize, int8 *pierror)
 
void fmatrixAeqRenormRotA (float A[][3])
 

Macro Definition Documentation

#define CORRUPTMATRIX   0.001F

Definition at line 33 of file matrix.c.

Referenced by fmatrixAeqRenormRotA().

#define NITERATIONS   15

Referenced by eigencompute10(), and eigencompute4().

#define NITERATIONS   15

Function Documentation

void eigencompute10 ( float  A[][10],
float  eigval[],
float  eigvec[][10],
int8  n 
)

Definition at line 203 of file matrix.c.

References NITERATIONS.

Referenced by fUpdateCalibration10EIG(), and fUpdateCalibration7EIG().

Here is the caller graph for this function:

void eigencompute4 ( float  A[][4],
float  eigval[],
float  eigvec[][4],
int8  n 
)

Definition at line 353 of file matrix.c.

References NITERATIONS.

Referenced by fLeastSquareseCompassAndroid(), fLeastSquareseCompassNED(), and fLeastSquareseCompassWin8().

Here is the caller graph for this function:

void f3x3matrixAeqAxScalar ( float  A[][3],
float  Scalar 
)

Definition at line 114 of file matrix.c.

Referenced by fUpdateCalibration10EIG(), and fUpdateCalibration7EIG().

Here is the caller graph for this function:

void f3x3matrixAeqB ( float  A[][3],
float  B[][3] 
)

Definition at line 55 of file matrix.c.

Referenced by fRun_9DOF_GBY_KALMAN().

Here is the caller graph for this function:

void f3x3matrixAeqInvSymB ( float  A[][3],
float  B[][3] 
)

Definition at line 154 of file matrix.c.

References f3x3matrixAeqI().

Referenced by fUpdateCalibration10EIG().

Here is the call graph for this function:

Here is the caller graph for this function:

void f3x3matrixAeqMinusA ( float  A[][3])

Definition at line 133 of file matrix.c.

Referenced by fUpdateCalibration10EIG(), and fUpdateCalibration7EIG().

Here is the caller graph for this function:

void f3x3matrixAeqScalar ( float  A[][3],
float  Scalar 
)

Definition at line 96 of file matrix.c.

Referenced by f3DOFTiltNED(), f3DOFTiltWin8(), and fUpdateCalibration7EIG().

Here is the caller graph for this function:

float f3x3matrixDetA ( float  A[][3])

Definition at line 189 of file matrix.c.

References X, Y, and Z.

Referenced by fUpdateCalibration10EIG().

Here is the caller graph for this function:

void fmatrixAeqI ( float *  A[],
int16  rc 
)

Definition at line 75 of file matrix.c.

Referenced by fmatrixAeqInvA().

Here is the caller graph for this function:

void fmatrixAeqInvA ( float *  A[],
int8  iColInd[],
int8  iRowInd[],
int8  iPivot[],
int8  isize,
int8 pierror 
)

Definition at line 496 of file matrix.c.

References fmatrixAeqI().

Referenced by fRun_6DOF_GY_KALMAN(), fRun_9DOF_GBY_KALMAN(), and fUpdateCalibration4INV().

Here is the call graph for this function:

Here is the caller graph for this function:

void fmatrixAeqRenormRotA ( float  A[][3])

Definition at line 636 of file matrix.c.

References CORRUPTMATRIX, X, Y, and Z.