UnaryOperation implementation for erf. More...
#include <unaryOperators.hpp>
Public Types | |
using | Real = T_Real |
See BinaryOperation. | |
Public Types inherited from codi::UnaryOperation< T_Real > | |
using | Real = T_Real |
See UnaryOperation. | |
Static Public Member Functions | |
template<typename Arg > | |
static Real | gradient (Arg const &arg, Real const &result) |
template<typename Arg > | |
static Real | primal (Arg const &arg) |
Static Public Member Functions inherited from codi::UnaryOperation< T_Real > | |
template<typename Arg > | |
static Real | gradient (Arg const &arg, Real const &result) |
template<typename Arg > | |
static Real | primal (Arg const &arg) |
UnaryOperation implementation for erf.
|
inlinestatic |
Compute the gradient with respect to the argument
The type of the argument is the type of the result of a getValue call on the expression.
|
inlinestatic |
Compute the primal value from the argument.
The type of the argument is the type of the result of a getValue call on the expression.