Main class that encapsulate a double constant. More...
Main class that encapsulate a double constant.
prp | no meaning |
Definition at line 576 of file vector_dist_operators.hpp.
#include <vector_dist_operators.hpp>
Public Member Functions | |
vector_dist_expression (const double &d) | |
constructor from a constant expression | |
void | init () const |
This function must be called before value. More... | |
double | value (const vect_dist_key_dx &k) const |
Evaluate the expression. More... | |
Private Attributes | |
double | d |
constant parameter | |
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 593 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 605 of file vector_dist_operators.hpp.