AvrIO  1.4.5
Bibliothèque C modulaire pour ATMEL AVR
matrixsqf.h
1 
21 #ifndef _AVRIO_MATRIXSQF_H_
22 #define _AVRIO_MATRIXSQF_H_
23 
24 #include <avrio/defs.h>
25 
26 __BEGIN_C_DECLS
27 /* ========================================================================== */
28 
38 #define MSQ(_mat) _mat[0]
39 
40 /* internal public functions ================================================ */
41 
48 void vMatrixSqfAdd (float * xOut, const float * xIn1, const float * xIn2, uint8_t ucOrder);
49 
56 void vMatrixSqfSub (float * xOut, const float * xIn1, const float * xIn2, uint8_t ucOrder);
57 
64 void vMatrixSqfMul (float * xOut, const float * xIn1, const float * xIn2, uint8_t ucOrder);
65 
71 void vMatrixSqfScale (float * xOut, const float * xIn, float fConst, uint8_t ucOrder);
72 
78 void vMatrixSqfMulK (float * xMat, float fConst, uint8_t ucOrder);
79 
85 void vMatrixSqfDivK (float * xMat, float fConst, uint8_t ucOrder);
86 
91 void vMatrixSqfClear (float * xIn1, uint8_t ucOrder);
92 
97 bool bMatrixSqfIsCleared (const float * xIn1, uint8_t ucOrder);
98 
105 bool bMatrixSqfEq (const float * xIn1, const float * xIn2, uint8_t ucOrder);
106 
112 void vMatrixSqfCopy (float * xDst, const float * xSrc, uint8_t ucOrder);
113 
119 __END_C_DECLS
120 /* ========================================================================== */
121 #endif /* _AVRIO_MATRIXSQF_H_ not defined */
void vMatrixSqfClear(float *xIn1, uint8_t ucOrder)
Remise à zéro d&#39;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&#39;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.