Main class that encapsulate a float constant. More...
Main class that encapsulate a float constant.
| prp | no meaning |
Definition at line 2065 of file vector_dist_operators.hpp.
#include <vector_dist_operators.hpp>
Public Types | |
| typedef std::false_type | is_ker |
| typedef boost::mpl::bool_< false > | is_sort |
| result for is sort | |
| 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. | |
| float | value (const vect_dist_key_dx &k) const |
| Evaluate the expression. | |
| __device__ __host__ float | value (const unsigned int &k) const |
| Evaluate the expression. | |
Private Attributes | |
| float | d |
| constant value | |
| typedef std::false_type vector_dist_expression< prp, float >::is_ker |
Definition at line 2072 of file vector_dist_operators.hpp.
| typedef boost::mpl::bool_<false> vector_dist_expression< prp, float >::is_sort |
result for is sort
Definition at line 2076 of file vector_dist_operators.hpp.
| typedef void vector_dist_expression< prp, float >::NN_type |
Definition at line 2078 of file vector_dist_operators.hpp.
|
inline |
constrictor from constant value
Definition at line 2081 of file vector_dist_operators.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 2090 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 2116 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 2102 of file vector_dist_operators.hpp.
|
private |
constant value
Definition at line 2068 of file vector_dist_operators.hpp.