compositions.hh
void testTrivExtendRestrictConsistency()
Tests if TrivExtendRestrict has consistent application operator and conversion to sparse matrix.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
Definition: compositions.hh:23
void testCompositions()
Tests composisitions of the matrix a with permutations, extensions and restrictions.
virtual ~MoreCompositionsTest()
Definition: compositions.hh:77
void testCompositions()
MoreCompositionsTest()
Constructor. Sets up a matrix a.
concepts::TrivExtendRestrict< Real > * restr
Definition: compositions.hh:127
void createSparseQR()
concepts::TrivExtendRestrict< Real > * ext
Definition: compositions.hh:127
Testing linear combination and multiplication of sparse matrices and the implementation of the evalua...
Definition: compositions.hh:38
std::unique_ptr< concepts::Compose< Real > > restrPrQgtM
Definition: compositions.hh:129
std::unique_ptr< concepts::Compose< Real > > restrPrQgtAQgPrtext
Definition: compositions.hh:129
virtual void run()
Runs the tests. Must be overwritten by the specialization.
concepts::SparseMatrix< Real > a
Tests if Permutation has consistent application operator and conversion to sparse matrix.
Definition: compositions.hh:98
uint dim
Tests if Permutation has consistent application operator and conversion to sparse matrix.
Definition: compositions.hh:97
std::unique_ptr< concepts::Compose< Real > > restrPrQgtA
Definition: compositions.hh:129
std::unique_ptr< concepts::Compose< Real > > PrQgt
Definition: compositions.hh:128
virtual void run()
Runs the tests. Must be overwritten by the specialization.
virtual ~DeepCompositionsTest()
Definition: compositions.hh:112
Tests deeply nested compositions resulting from constrained Eigenvalue problems.
Definition: compositions.hh:108
std::unique_ptr< concepts::Compose< Real > > QgPrtext
Definition: compositions.hh:129
std::unique_ptr< concepts::Compose< Real > > QgPrt
Definition: compositions.hh:128
DeepCompositionsTest()
Constructor. Sets up a matrix a.
void testPermutationConsistency()
Tests if Permutation has consistent application operator and conversion to sparse matrix.
std::unique_ptr< concepts::Compose< Real > > restrPrQgtMQgPrtext
Definition: compositions.hh:130
std::unique_ptr< concepts::Compose< Real > > restrPrQgt
Definition: compositions.hh:128
std::unique_ptr< concepts::Permutation< Real > > Prt
Definition: compositions.hh:125
void compare(const concepts::Matrix< F > &a, concepts::Operator< F > &b)
CompositionsTest()
Constructor. Sets up three matrices a, b and c.
sparseqr::GivensRotations< Real > * Qgt
Definition: compositions.hh:126