You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
sparseqr
testsuite
driverTest.hh
Go to the documentation of this file.
1
6
#ifndef driverTest_hh
7
#define driverTest_hh
8
9
#include "
basics/testcase.hh
"
10
#include "operator/sparseMatrix.hh"
11
#include "
sparseqr/driver.hh
"
12
13
namespace
test
{
14
15
// ************************************************************ DriverTest **
16
20
class
DriverTest
:
public
TestCase
{
21
public
:
22
DriverTest
();
23
virtual
~DriverTest
();
24
virtual
void
run
();
25
27
28
29
void
testQ
();
31
void
testQt
();
33
void
testSolver
();
35
private
:
36
concepts::DummySpace<Real>
spc1, spc2;
37
concepts::SparseMatrix<Real>
a, b;
38
sparseqr::Driver
decomp;
39
void
compare_(
const
concepts::SparseMatrix<Real>
& s,
40
concepts::Operator<Real>
& o);
41
};
42
43
}
// namespace test
44
45
#endif
// driverTest_hh
concepts::DummySpace
Definition
space.hh:373
concepts::Operator
Definition
compositions.hh:42
concepts::SparseMatrix
Definition
sparseMatrix.hh:65
sparseqr::Driver
Definition
driver.hh:34
test::DriverTest
Definition
driverTest.hh:20
test::DriverTest::testQt
void testQt()
Tests transpose of Q and its composition with another matrix.
test::DriverTest::testQ
void testQ()
Tests Q and its composition with another matrix.
test::DriverTest::run
virtual void run()
Runs the tests. Must be overwritten by the specialization.
test::DriverTest::testSolver
void testSolver()
Should test QR solver (when it is operational)
test::TestCase
Definition
testcase.hh:92
driver.hh
test
Definition
testcase.hh:66
testcase.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8