25 #ifndef WMATRIXTRAITS_H
26 #define WMATRIXTRAITS_H
30 #include <cxxtest/TestSuite.h>
31 #include <cxxtest/ValueTraits.h>
33 #include "../../test/WTraitsBase.h"
34 #include "../WMatrix.h"
36 #ifdef CXXTEST_RUNNING
39 CXXTEST_TEMPLATE_INSTANTIATION
54 std::stringstream tmp;
57 for(
size_t row = 0; row < m.
getNbRows(); row++ )
59 for(
size_t col = 0; col < m.
getNbCols(); col++ )
61 tmp << m( row, col ) <<
"\t";
Matrix template class with variable number of rows and columns.
size_t getNbRows() const
Get number of rows.
size_t getNbCols() const
Get number of columns.
Base class to all custom Value Traits for CxxTest.