55 for(uint16_t l=0 ; l<nl ; l++)
71 for(uint16_t l=0 ; l<
m_lin ; l++)
93 Cout(
"oMatrix::Allocate() ...");
99 for(uint16_t l=0 ; l<
m_lin ; l++)
109 for(uint16_t l=0 ; l<nl ; l++)
131 Cerr(
"***** oMatrix::SetMatriceElt()-> Nb of (lin,col) ("<<l+1<<
","<<c+1<<
") in parameters ");
132 Cerr(
"> to the number of (lin,col) of this matrix ("<<
m_lin<<
","<<
m_col<<
") !" << endl);
179 Cerr(
"***** oMatrix::Multiplication()-> Not matching number of colons and lines of the two matrices !");
182 else if (ap_MtxResult == NULL)
184 Cerr(
"***** oMatrix::Multiplication()-> The resulting matrix has not been allocated !");
189 for ( uint16_t tl = 0; tl <
m_lin; tl++ )
190 for ( uint16_t c = 0; c < ap_Mtx->
m_col; c++ )
192 for ( uint16_t l = 0; l < ap_Mtx->
m_lin; l++ )
int SetMatriceElt(uint16_t l, uint16_t c, FLTNBLUT a_val)
Set the matrix element corresponding to the argument indices with the provided value.
~oMatrix()
oMatrix destructor. Free memory of the oMatrix object.
oMatrix()
oMatrix constructor. Initialize the member variables to their default values.
int Multiplication(oMatrix *a_Mtx, oMatrix *a_MtxResult)
Multiply the member matrix with the matrix provided in 1st parameter Return the result in the matric ...
Declaration of class oMatrix.
FLTNBLUT GetMatriceElt(uint16_t l, uint16_t c)
Structure designed for basic matrices operations.
void Allocate(uint16_t nl, uint16_t nc)
Instanciate a Matrix structure with the number of lines and colons provided in parameters.