Class documentation of Concepts

Loading...
Searching...
No Matches
sparseMatrix.hh
Go to the documentation of this file.
1
7#ifndef sparseMatrixTest_hh
8#define sparseMatrixTest_hh
9
10#include "basics/testcase.hh"
11#include "space/space.hh"
12#include "operator/submatrix.hh"
13
14using concepts::Real;
15
16namespace test {
17
22 class SparseMatrixTest : public TestCase {
23 public:
24 SparseMatrixTest() : spc3(3), spc4(4) {}
25 virtual ~SparseMatrixTest() {}
26 virtual void run();
27
29
30
31 void testConstr();
33 void testAppl();
39 void testMult();
45 void testCRS_R();
46 void testCRS_C();
47 void testCRS_R_Large();
48 void testCCS_R_Large();
52 void testResize();
54 private:
56 };
57
58} // namespace test
59
60#endif // sparseMatrixTest_hh
void testMult()
Tests multiplication of two matrices.
void testCRS_R()
Tests conversion to CRS and CCS format.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void testCompress()
Tests compressing a matrix.
void testConstr()
Tests the constructors.
void testAppl()
Tests the application operator.
void testTranspMult()
Tests the transposed multiplication operator.
void testSubMatrix()
Tests submatrices.
void testResize()
Test resizing.
void testSymmetrize()
Tests symmetrization of a matric.
void testAddInto()
Tests the addition of two matrices.
double Real
Definition typedefs.hh:39