ViennaCL - The Vienna Computing Library
1.5.2
|
Functor to map the statements to the types defined in mapped_objects.hpp. More...
#include <map.hpp>
Public Types | |
typedef tools::shared_ptr < mapped_object > | result_type |
Public Member Functions | |
map_functor (symbolic_binder &binder, mapping_type &mapping) | |
template<class T > | |
result_type | binary_leaf (scheduler::statement const *statement, unsigned int root_idx, mapping_type const *mapping) const |
Binary leaf. | |
template<class ScalarType > | |
result_type | operator() (ScalarType const &) const |
template<class ScalarType > | |
result_type | operator() (scalar< ScalarType > const &scal) const |
Scalar mapping. | |
template<class ScalarType > | |
result_type | operator() (vector_base< ScalarType > const &vec) const |
Vector mapping. | |
template<class ScalarType > | |
result_type | operator() (implicit_vector_base< ScalarType > const &) const |
Implicit vector mapping. | |
template<class ScalarType > | |
result_type | operator() (matrix_base< ScalarType > const &mat) const |
Matrix mapping. | |
template<class ScalarType > | |
result_type | operator() (implicit_matrix_base< ScalarType > const &) const |
Implicit matrix mapping. | |
void | operator() (scheduler::statement const &statement, unsigned int root_idx, node_type node_type) const |
Traversal functor. |
Functor to map the statements to the types defined in mapped_objects.hpp.
typedef tools::shared_ptr<mapped_object> result_type |
map_functor | ( | symbolic_binder & | binder, |
mapping_type & | mapping | ||
) | [inline] |
result_type binary_leaf | ( | scheduler::statement const * | statement, |
unsigned int | root_idx, | ||
mapping_type const * | mapping | ||
) | const [inline] |
Binary leaf.
result_type operator() | ( | ScalarType const & | ) | const [inline] |
result_type operator() | ( | scalar< ScalarType > const & | scal | ) | const [inline] |
Scalar mapping.
result_type operator() | ( | vector_base< ScalarType > const & | vec | ) | const [inline] |
Vector mapping.
result_type operator() | ( | implicit_vector_base< ScalarType > const & | ) | const [inline] |
Implicit vector mapping.
result_type operator() | ( | matrix_base< ScalarType > const & | mat | ) | const [inline] |
Matrix mapping.
result_type operator() | ( | implicit_matrix_base< ScalarType > const & | ) | const [inline] |
Implicit matrix mapping.
void operator() | ( | scheduler::statement const & | statement, |
unsigned int | root_idx, | ||
node_type | node_type | ||
) | const [inline] |
Traversal functor.