Multiplication expression. More...
Multiplication expression.
#include <mul.hpp>
Public Types | |
typedef boost::mpl::size< v_expr > | size |
Number of elements in the vector v_expr. | |
typedef boost::mpl::at< v_expr, boost::mpl::int_< size::value-1 > >::type | last |
Last element of sum. | |
Public Member Functions | |
const_mul_functor_value (const grid_dist_id< last::dims, typename last::stype, aggregate< size_t >, typename last::b_grid::decomposition::extended_type > &g_map, grid_dist_key_dx< last::dims > &kmap, const grid_sm< last::dims, void > &gs, typename last::stype(&spacing)[last::dims], std::unordered_map< long int, typename last::stype > &cols, typename last::stype coeff) | |
constructor More... | |
template<typename T > | |
void | operator() (T &t) |
It call this function for every constant expression in the mul. | |
last::stype | getCoeff () |
Get the coefficent. More... | |
Data Fields | |
std::unordered_map< long int, typename last::stype > & | cols |
sum functor | |
const grid_sm< last::dims, void > & | gs |
grid size | |
const grid_dist_id< last::dims, typename last::stype, aggregate< size_t >, typename last::b_grid::decomposition::extended_type > & | g_map |
grid mapping | |
grid_dist_key_dx< last::dims > & | kmap |
grid position | |
last::stype | coeff |
coefficent | |
last::stype(& | spacing )[last::dims] |
spacing | |
|
inline |
|
inline |