permutation.hh
Permutation(uint dim, const Array< int > &perm, bool transpose=false)
Trivial extension and restriction operator.
Definition: permutation.hh:27
void convertToMatrix(Matrix< F > &dest) const
Convertes this operator to the matrix dest.
Permutation(const Space< G > &space, const Array< int > &perm, bool transpose=false)
Constructor.
void composeRestr(const TrivExtendRestrict< F > &restr, Matrix< F > &dest) const
Computes the composition of a Permutation and a TrivExtendRestrict and stores the result in dest.
virtual void operator()(const Function< c_type > &fncY, Function< c_type > &fncX)
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
virtual void transpMult(const Vector< c_type > &fncY, Vector< c_type > &fncX)
virtual void operator()(const Function< r_type > &fncY, Function< F > &fncX)
Computes fncX = A(fncY) where A is this matrix.
virtual void transpMult(const Vector< r_type > &fncY, Vector< F > &fncX)
Computes fncX = AT fncY where A is this matrix.
#define DEBUGL(doit, msg)
virtual void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
Definition: permutation.hh:165
TrivExtendRestrict(uint dimX, uint dimY, bool extend=false)
Definition: permutation.hh:134
void convertToMatrix(Matrix< F > &dest) const
Convertes this permutation to the matrix dest.
virtual F operator()(const uint i, const uint j) const
Returns entry with indices i and j.
TrivExtendRestrict(const concepts::Space< G > &spcX, const concepts::Space< G > &spcY, bool extend=false)
Constructor.
Definition: permutation.hh:119
virtual F & operator()(const uint i, const uint j)
Returns and allows access to entry with indices i and j.
Permutation(const Permutation< F > &perm, bool transpose=false)
Copy constructor.
virtual std::ostream & info(std::ostream &os) const
std::conditional< std::is_same< typename Realtype< F >::type, F >::value, typename Realtype< F >::type, typename Cmplxtype< F >::type >::type d_type
Data type, depending if F is real or complex.
Definition: permutation.hh:49
virtual std::ostream & info(std::ostream &os) const