ALPSCore reference
|
#include <core.hpp>
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 () |
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.
|
inlinevirtual |
|
pure virtual |
expected number of components of the input vector
Implemented in alps::alea::scalar_binary_transformer< T >, alps::alea::scalar_unary_transformer< T >, and alps::alea::linear_transformer< T >.
|
inlinevirtual |
Guarantee transformation to be linear (allows certain optimizations)
Reimplemented in alps::alea::linear_transformer< T >.
|
pure virtual |
apply transformation
Implemented in alps::alea::scalar_binary_transformer< T >, alps::alea::scalar_unary_transformer< T >, and alps::alea::linear_transformer< T >.
|
pure virtual |
number of components of the returned vector
Implemented in alps::alea::scalar_binary_transformer< T >, alps::alea::scalar_unary_transformer< T >, and alps::alea::linear_transformer< T >.