BinaryOperation implementation for min. More...
#include <binaryOperators.hpp>
Public Types | |
using | Real = T_Real |
See BinaryOperation. | |
Public Types inherited from codi::BinaryOperation< T_Real > | |
using | Real = T_Real |
See BinaryOperation. | |
Static Public Member Functions | |
static std::string | getMathRep () |
Get the math symbol of the binary operation. E.g. + for operators and pow() for functions. | |
template<typename ArgA , typename ArgB > | |
static RealTraits::PassiveReal< Real > | gradientA (ArgA const &argA, ArgB const &argB, Real const &result) |
template<typename ArgA , typename ArgB > | |
static RealTraits::PassiveReal< Real > | gradientB (ArgA const &argA, ArgB const &argB, Real const &result) |
template<typename ArgA , typename ArgB > | |
static Real | primal (ArgA const &argA, ArgB const &argB) |
Static Public Member Functions inherited from codi::BinaryOperation< T_Real > | |
static std::string | getMathRep () |
Get the math symbol of the binary operation. E.g. + for operators and pow() for functions. | |
template<typename ArgA , typename ArgB > | |
static Real | gradientA (ArgA const &argA, ArgB const &argB, Real const &result) |
template<typename ArgA , typename ArgB > | |
static Real | gradientB (ArgA const &argA, ArgB const &argB, Real const &result) |
template<typename ArgA , typename ArgB > | |
static Real | primal (ArgA const &argA, ArgB const &argB) |
BinaryOperation implementation for min.
|
inlinestatic |
Get the math symbol of the binary operation. E.g. +
for operators and pow()
for functions.
|
inlinestatic |
Compute the gradient with respect to the first argument
The type of the arguments is the type of the result of a getValue call on the expressions.
|
inlinestatic |
Compute the gradient with respect to the second argument
The type of the arguments is the type of the result of a getValue call on the expressions.
|
inlinestatic |
Compute the primal value from the arguments.
The type of the arguments is the result of a getValue call on the expressions.