DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Protected Attributes | List of all members
utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput > Class Template Reference

#include <utlFunctors.h>

+ Inheritance diagram for utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >:
+ Collaboration diagram for utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >:

Detailed Description

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
class utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >

Definition at line 269 of file utlFunctors.h.

Public Types

typedef VectorUnaryFunctionWrapper Self
 
- Public Types inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
typedef VectorFunctorBase Self
 

Public Member Functions

int GetOutputDimension (const int inputSize) const
 
bool operator!= (const Self &other) const
 
TOutput operator() (const TVector &A) const
 
void operator= (const Self &other)
 
bool operator== (const Self &other) const
 
 VectorUnaryFunctionWrapper (TFunction func=nullptr)
 
- Public Member Functions inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
virtual int GetLogLevel () const
 
int GetOutputDimension (const int inputSize) const
 
int GetOutputDimension (const std::vector< int > &sizeVec) const
 
void Initialize ()
 
bool operator!= (const Self &other) const
 
Selfoperator= (const Self &other)
 
bool operator== (const Self &other) const
 
void Print (std::ostream &os=std::cout) const
 
virtual void SetLogLevel (const int _arg)
 
void VerifyInputParameters (const int inputSize=-1) const
 

Protected Attributes

TFunction m_Function
 
- Protected Attributes inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
int m_LogLevel =1
 

Member Typedef Documentation

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
typedef VectorUnaryFunctionWrapper utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::Self

Definition at line 272 of file utlFunctors.h.

Constructor & Destructor Documentation

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::VectorUnaryFunctionWrapper ( TFunction  func = nullptr)
inline

Definition at line 280 of file utlFunctors.h.

Member Function Documentation

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
int utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::GetOutputDimension ( const int  inputSize) const
inline

Definition at line 296 of file utlFunctors.h.

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
bool utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::operator!= ( const Self other) const
inline

Definition at line 275 of file utlFunctors.h.

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
TOutput utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::operator() ( const TVector &  A) const
inline

Definition at line 285 of file utlFunctors.h.

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
void utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::operator= ( const Self other)
inline

Definition at line 277 of file utlFunctors.h.

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
bool utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::operator== ( const Self other) const
inline

Definition at line 273 of file utlFunctors.h.

Member Data Documentation

template<class TFunction = std::function<double(double)>, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
TFunction utl::Functor::VectorUnaryFunctionWrapper< TFunction, TVector, TOutput >::m_Function
protected

Definition at line 301 of file utlFunctors.h.


The documentation for this class was generated from the following file: