Point norm Infinity operation. More...
Point norm Infinity operation.
orig | original type |
exp1 | expression1 |
exp2 | expression2 |
op | operation |
Definition at line 92 of file Point_operators_functions.hpp.
#include <Point_operators_functions.hpp>
Public Types | |
typedef orig | orig_type |
Origin type. | |
typedef int | is_expression |
indicate that this class encapsulate an expression | |
typedef int | has_init |
indicate that init must be called before value | |
typedef orig::coord_type | return_type |
return type of the expression | |
typedef exp1::coord_type | coord_type |
Public Member Functions | |
__device__ __host__ | point_expression_op (const exp1 &o1) |
Constructor from expression. | |
__device__ __host__ void | init () const |
This function must be called before value. | |
template<typename r_type = typename std::remove_reference<decltype(o1.value(0))>::type> | |
__device__ __host__ r_type | value (size_t k) const |
Evaluate the expression. | |
template<typename T > | |
__device__ __host__ | operator T () const |
Static Public Attributes | |
static const unsigned int | nvals = 1 |
this operation produce a scalar as result | |
Private Attributes | |
const exp1 | o1 |
std::remove_const< typenameorig::coord_type >::type | scal |
Scalar value. | |
typedef exp1::coord_type point_expression_op< orig, exp1, exp2, POINT_NORM_INF >::coord_type |
Definition at line 116 of file Point_operators_functions.hpp.
typedef int point_expression_op< orig, exp1, exp2, POINT_NORM_INF >::has_init |
indicate that init must be called before value
Definition at line 108 of file Point_operators_functions.hpp.
typedef int point_expression_op< orig, exp1, exp2, POINT_NORM_INF >::is_expression |
indicate that this class encapsulate an expression
Definition at line 105 of file Point_operators_functions.hpp.
typedef orig point_expression_op< orig, exp1, exp2, POINT_NORM_INF >::orig_type |
Origin type.
Definition at line 102 of file Point_operators_functions.hpp.
typedef orig::coord_type point_expression_op< orig, exp1, exp2, POINT_NORM_INF >::return_type |
return type of the expression
Definition at line 111 of file Point_operators_functions.hpp.
|
inlineexplicit |
Constructor from expression.
Definition at line 119 of file Point_operators_functions.hpp.
|
inline |
This function must be called before value.
it calculate the scalar product before return the values
Definition at line 128 of file Point_operators_functions.hpp.
|
inline |
Definition at line 154 of file Point_operators_functions.hpp.
|
inline |
Evaluate the expression.
key | where to evaluate the expression |
Definition at line 149 of file Point_operators_functions.hpp.
|
static |
this operation produce a scalar as result
Definition at line 114 of file Point_operators_functions.hpp.
|
private |
Definition at line 94 of file Point_operators_functions.hpp.
|
mutableprivate |
Scalar value.
Definition at line 97 of file Point_operators_functions.hpp.