it take an expression and create the negatove of this expression More...
it take an expression and create the negatove of this expression
Definition at line 721 of file vector_dist_operators.hpp.
#include <vector_dist_operators.hpp>
Public Types | |
typedef exp1::is_ker | is_ker |
typedef vector_result< typenameexp1::vtype, void >::type | vtype |
return the vector type on which this expression operate | |
typedef vector_is_sort_result< exp1::is_sort::value, false >::type | is_sort |
result for is sort | |
typedef nn_type_result< typenameexp1::NN_type, void >::type | NN_type |
NN_type. | |
Public Member Functions | |
vector_dist_expression_op (const exp1 &o1) | |
constructor from an expresssion | |
NN_type * | getNN () const |
get the NN object | |
const vtype & | getVector () |
Return the underlying vector. | |
void | init () const |
initialize the expression tree | |
const vtype & | getVector () const |
Return the vector on which is acting. | |
template<typename r_type = typename std::remove_reference<decltype(-(o1.value(vect_dist_key_dx(0))))>::type> | |
__device__ __host__ r_type | value (const vect_dist_key_dx &key) const |
return the result of the expression | |
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 |
template<typename r_type = typename std::remove_reference<decltype(-(o1.value(vect_dist_key_dx(0))))>::type> | |
__device__ __host__ r_type | value (const unsigned int &key) const |
return the result of the expression | |
Private Attributes | |
const exp1 | o1 |
expression 1 | |
typedef exp1::is_ker vector_dist_expression_op< exp1, void, VECT_SUB_UNI >::is_ker |
Definition at line 729 of file vector_dist_operators.hpp.
typedef vector_is_sort_result<exp1::is_sort::value,false>::type vector_dist_expression_op< exp1, void, VECT_SUB_UNI >::is_sort |
result for is sort
Definition at line 735 of file vector_dist_operators.hpp.
typedef nn_type_result<typenameexp1::NN_type,void>::type vector_dist_expression_op< exp1, void, VECT_SUB_UNI >::NN_type |
NN_type.
Definition at line 738 of file vector_dist_operators.hpp.
typedef vector_result<typenameexp1::vtype,void>::type vector_dist_expression_op< exp1, void, VECT_SUB_UNI >::vtype |
return the vector type on which this expression operate
Definition at line 732 of file vector_dist_operators.hpp.
|
inline |
constructor from an expresssion
Definition at line 741 of file vector_dist_operators.hpp.
|
inline |
|
inline |
Return the underlying vector.
Definition at line 760 of file vector_dist_operators.hpp.
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 778 of file vector_dist_operators.hpp.
|
inline |
initialize the expression tree
Definition at line 766 of file vector_dist_operators.hpp.
|
inline |
return the result of the expression
Definition at line 799 of file vector_dist_operators.hpp.
|
inline |
return the result of the expression
Definition at line 786 of file vector_dist_operators.hpp.
|
inline |
Definition at line 792 of file vector_dist_operators.hpp.
|
private |
expression 1
Definition at line 724 of file vector_dist_operators.hpp.