Sum operation.
More...
#include <vector_dist_operators.hpp>
|
|
| vector_dist_expression_op (const exp1 &o1, const exp2 &o2) |
| | constructor of the expression to sum two expression
|
| |
| NN_type * | getNN () const |
| | get the NN object More...
|
| |
| void | init () const |
| | This function must be called before value. More...
|
| |
| template<typename r_type = typename std::remove_reference<decltype(o1.value(vect_dist_key_dx()) + o2.value(vect_dist_key_dx()))>::type> |
| __device__ __host__ r_type | value (const vect_dist_key_dx &key) const |
| | Evaluate the expression. More...
|
| |
|
template<typename Sys_eqs , typename pmap_type , typename unordered_map_type , typename coeff_type > |
| void | value_nz (pmap_type &p_map, const vect_dist_key_dx &key, unordered_map_type &cols, coeff_type &coeff, unsigned int comp) const |
| |
| const vtype & | getVector () |
| | Return the vector on which is acting. More...
|
| |
| const vtype & | getVector () const |
| | Return the vector on which is acting. More...
|
| |
| template<typename r_type = typename std::remove_reference<decltype(o1.value(0) + o2.value(0))>::type> |
| __device__ __host__ r_type | value (const unsigned int &key) const |
| | Evaluate the expression. More...
|
| |
|
|
const exp1 | o1 |
| | expression 1
|
| |
|
const exp2 | o2 |
| | expression 2
|
| |
template<typename exp1, typename exp2>
class vector_dist_expression_op< exp1, exp2, VECT_SUM >
Sum operation.
- Template Parameters
-
| exp1 | expression1 |
| exp2 | expression2 |
Definition at line 271 of file vector_dist_operators.hpp.
◆ getNN()
template<typename exp1 , typename exp2 >
◆ getVector() [1/2]
template<typename exp1 , typename exp2 >
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
- Returns
- the vector
Definition at line 343 of file vector_dist_operators.hpp.
◆ getVector() [2/2]
template<typename exp1 , typename exp2 >
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
- Returns
- the vector
Definition at line 355 of file vector_dist_operators.hpp.
◆ init()
template<typename exp1 , typename exp2 >
◆ value() [1/2]
template<typename exp1 , typename exp2 >
template<typename r_type = typename std::remove_reference<decltype(o1.value(0) + o2.value(0))>::type>
Evaluate the expression.
- Parameters
-
| key | where to evaluate the expression |
- Returns
- return the result of the expression
Definition at line 368 of file vector_dist_operators.hpp.
◆ value() [2/2]
template<typename exp1 , typename exp2 >
template<typename r_type = typename std::remove_reference<decltype(o1.value(vect_dist_key_dx()) + o2.value(vect_dist_key_dx()))>::type>
Evaluate the expression.
- Parameters
-
| key | where to evaluate the expression |
- Returns
- return the result of the expression
Definition at line 324 of file vector_dist_operators.hpp.
The documentation for this class was generated from the following file: