concepts::TrivExtendRestrict< F > Class Template Reference
Trivial extension and restriction operator. More...
#include <permutation.hh>
Public Member Functions | |
void | convertToMatrix (Matrix< F > &dest) const |
Convertes this operator to the matrix dest . More... | |
bool | extend () const |
Returns the extension flag. More... | |
virtual void | operator() (const concepts::Function< F > &fncY, concepts::Function< F > &fncX) |
template<class G > | |
TrivExtendRestrict (const concepts::Space< G > &spcX, const concepts::Space< G > &spcY, bool extend=false) | |
Constructor. More... | |
TrivExtendRestrict (uint dimX, uint dimY, bool extend=false) | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const bool | extend_ |
Detailed Description
template<typename F>
class concepts::TrivExtendRestrict< F >
Trivial extension and restriction operator.
Extends a vector by adding zeros at the beginning or restricts a vector by stripping off the beginning of the vector.
Definition at line 27 of file permutation.hh.
Constructor & Destructor Documentation
◆ TrivExtendRestrict() [1/2]
template<typename F >
template<class G >
|
inline |
Constructor.
- Parameters
-
spcX Image space spcY Source space extend Applies the extension ( true
) or the restriction (false
)
Definition at line 119 of file permutation.hh.
◆ TrivExtendRestrict() [2/2]
template<typename F >
|
inline |
Definition at line 134 of file permutation.hh.
Member Function Documentation
◆ convertToMatrix()
template<typename F >
void concepts::TrivExtendRestrict< F >::convertToMatrix | ( | Matrix< F > & | dest | ) | const |
Convertes this operator to the matrix dest
.
- Precondition
dest
is empty
◆ extend()
template<typename F >
|
inline |
Returns the extension flag.
Definition at line 151 of file permutation.hh.
◆ info()
template<typename F >
|
protectedvirtual |
◆ operator()()
template<typename F >
|
virtual |
Definition at line 164 of file permutation.hh.
Member Data Documentation
◆ extend_
template<typename F >
|
private |
Definition at line 160 of file permutation.hh.
The documentation for this class was generated from the following file:
- operator/permutation.hh