Main class that encapsulate a float constant. More...
#include <vector_dist_operators.hpp>
Public Types | |
| typedef std::false_type | is_ker |
| typedef void | NN_type |
Public Member Functions | |
| vector_dist_expression (const float &d) | |
| constrictor from constant value | |
| void | init () const |
| This function must be called before value. More... | |
| float | value (const vect_dist_key_dx &k) const |
| Evaluate the expression. More... | |
| __device__ __host__ float | value (const unsigned int &k) const |
| Evaluate the expression. More... | |
Private Attributes | |
| float | d |
| constant value | |
Main class that encapsulate a float constant.
| prp | no meaning |
Definition at line 2023 of file vector_dist_operators.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 2044 of file vector_dist_operators.hpp.
|
inline |
Evaluate the expression.
| k | ignored position in the vector |
It just return the value set in the constructor
Definition at line 2070 of file vector_dist_operators.hpp.
|
inline |
Evaluate the expression.
| k | ignored position in the vector |
It just return the value set in the constructor
Definition at line 2056 of file vector_dist_operators.hpp.