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 | |
template<typename T > | |
void | operator() (T &t) |
It call this function for every constant expression in the mul. | |
last::stype | getCoeff () |
Get the coefficent. | |
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 | |
typedef boost::mpl::at<v_expr,boost::mpl::int_<size::value-1>>::type const_mul_functor_value< v_expr >::last |
typedef boost::mpl::size<v_expr> const_mul_functor_value< v_expr >::size |
|
inline |
|
inline |
|
inline |
last::stype const_mul_functor_value< v_expr >::coeff |
std::unordered_map<long int,typename last::stype>& const_mul_functor_value< v_expr >::cols |
const grid_dist_id<last::dims,typename last::stype,aggregate<size_t>,typename last::b_grid::decomposition::extended_type>& const_mul_functor_value< v_expr >::g_map |
const grid_sm<last::dims,void>& const_mul_functor_value< v_expr >::gs |
grid_dist_key_dx<last::dims>& const_mul_functor_value< v_expr >::kmap |
last::stype(& const_mul_functor_value< v_expr >::spacing)[last::dims] |