21 #ifndef _AVRIO_MATRIXSQF_H_ 22 #define _AVRIO_MATRIXSQF_H_ 24 #include <avrio/defs.h> 38 #define MSQ(_mat) _mat[0] 48 void vMatrixSqfAdd (
float * xOut,
const float * xIn1,
const float * xIn2, uint8_t ucOrder);
56 void vMatrixSqfSub (
float * xOut,
const float * xIn1,
const float * xIn2, uint8_t ucOrder);
64 void vMatrixSqfMul (
float * xOut,
const float * xIn1,
const float * xIn2, uint8_t ucOrder);
71 void vMatrixSqfScale (
float * xOut,
const float * xIn,
float fConst, uint8_t ucOrder);
105 bool bMatrixSqfEq (
const float * xIn1,
const float * xIn2, uint8_t ucOrder);
112 void vMatrixSqfCopy (
float * xDst,
const float * xSrc, uint8_t ucOrder);
void vMatrixSqfClear(float *xIn1, uint8_t ucOrder)
Remise à zéro d'un matrice.
void vMatrixSqfScale(float *xOut, const float *xIn, float fConst, uint8_t ucOrder)
Multiplie un matrice par une constante.
void vMatrixSqfMulK(float *xMat, float fConst, uint8_t ucOrder)
Multiplie un matrice par une constante.
bool bMatrixSqfEq(const float *xIn1, const float *xIn2, uint8_t ucOrder)
Egalité de 2 matrices.
void vMatrixSqfCopy(float *xDst, const float *xSrc, uint8_t ucOrder)
Copie d'un matrice dans un autre.
void vMatrixSqfSub(float *xOut, const float *xIn1, const float *xIn2, uint8_t ucOrder)
Soustraction de 2 matrices carrée.
bool bMatrixSqfIsCleared(const float *xIn1, uint8_t ucOrder)
Test si un matrice est nul.
void vMatrixSqfMul(float *xOut, const float *xIn1, const float *xIn2, uint8_t ucOrder)
Multiplication de 2 matrices carrée.
void vMatrixSqfDivK(float *xMat, float fConst, uint8_t ucOrder)
Divise un matrice par une constante.
void vMatrixSqfAdd(float *xOut, const float *xIn1, const float *xIn2, uint8_t ucOrder)
Addition de 2 matrices carrée.