Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

sparseqr/testsuite/driverTest.hh
Go to the documentation of this file.
00001 // testing qr factorizations
00002 
00003 #ifndef driverTest_hh
00004 #define driverTest_hh
00005 
00006 #include "basics/testcase.hh"
00007 #include "operator/sparseMatrix.hh"
00008 #include "sparseqr/driver.hh"
00009 
00010 namespace test {
00011 
00012   // ************************************************************ DriverTest **
00013 
00017   class DriverTest : public TestCase {
00018   public:
00019     DriverTest();
00020     virtual ~DriverTest();
00021     virtual void run();
00022 
00024 
00025 
00026     void testQ();
00028     void testQt();
00030     void testSolver();
00032   private:
00033     concepts::DummySpace<Real> spc1, spc2;
00034     concepts::SparseMatrix<Real> a, b;
00035     sparseqr::Driver decomp;
00036     void compare_(const concepts::SparseMatrix<Real>& s,
00037       concepts::Operator<Real>& o);
00038   };
00039 
00040 } // namespace test
00041 
00042 #endif // driverTest_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)