MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::internals::AbsoluteValueOperator Struct Reference

functor returning the absolute value of the values returned by an evaluator, using the customization_points::AbsoluteValue customization point More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/UnaryOperation.hxx>

Public Member Functions

template<typename ValueType>
MGIS_HOST_DEVICE constexpr auto operator() (const ValueType &v) const
 call operator

Detailed Description

functor returning the absolute value of the values returned by an evaluator, using the customization_points::AbsoluteValue customization point

Member Function Documentation

◆ operator()()

template<typename ValueType>
MGIS_HOST_DEVICE constexpr auto mgis::function::internals::AbsoluteValueOperator::operator() ( const ValueType & v) const
inlinenodiscardconstexpr

call operator

Template Parameters
ValueTypetype of the value, which must be supported by the customization_points::AbsoluteValue customization point
Parameters
[in]vvalue
Returns
the absolute value of each component of the given value

The documentation for this struct was generated from the following file: