ALPSCore reference
Public Member Functions | List of all members
alps::alea::transformer< T > Struct Template Referenceabstract

#include <core.hpp>

Inheritance diagram for alps::alea::transformer< T >:
Inheritance graph
Collaboration diagram for alps::alea::transformer< T >:
Collaboration graph

Public Member Functions

virtual column< T > operator() (const column< T > &in) const =0
 
virtual size_t in_size () const =0
 
virtual size_t out_size () const =0
 
virtual bool is_linear () const
 
virtual ~transformer ()
 

Detailed Description

template<typename T>
struct alps::alea::transformer< T >

Transformer instance.

Note that multi-argument transformations are not supported. Such transformations must be implemented by first homogenizing the type and then concatenating the argument vectors to a single argument.

See also
alps::alea::transform, alps::alea::join

Definition at line 395 of file core.hpp.

Constructor & Destructor Documentation

template<typename T>
virtual alps::alea::transformer< T >::~transformer ( )
inlinevirtual

Destructor

Definition at line 410 of file core.hpp.

Member Function Documentation

template<typename T>
virtual size_t alps::alea::transformer< T >::in_size ( ) const
pure virtual
template<typename T>
virtual bool alps::alea::transformer< T >::is_linear ( ) const
inlinevirtual

Guarantee transformation to be linear (allows certain optimizations)

Reimplemented in alps::alea::linear_transformer< T >.

Definition at line 407 of file core.hpp.

template<typename T>
virtual column<T> alps::alea::transformer< T >::operator() ( const column< T > &  in) const
pure virtual
template<typename T>
virtual size_t alps::alea::transformer< T >::out_size ( ) const
pure virtual

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