Class MEAL::BinaryScalar
-
class BinaryScalar : public MEAL::BinaryRule<Scalar>
Abstract base class of binary functions of two other Scalar functions.
The partial derivatives are calculated using the chain rule.
Subclassed by MEAL::ScalarInverseTangent2, MEAL::ScalarPower
Public Functions
-
virtual double function(double arg1, double arg2) const = 0
The function.
-
virtual double partial_arg1(double arg1, double arg2) const = 0
The partial derivative with respect to arg1.
-
virtual double partial_arg2(double arg1, double arg2) const = 0
The partial derivative with respect to arg2.
-
virtual double function(double arg1, double arg2) const = 0