Class MEAL::ScalarPower

class ScalarPower : public MEAL::BinaryScalar

The tangent of a Scalar function.

Public Functions

virtual double function(double arg1, double arg2) const

Return x^y.

virtual double partial_arg1(double arg1, double arg2) const

Return the partial derivative with respect to the base, x.

virtual double partial_arg2(double arg1, double arg2) const

Return the partial derivative with respect to the exponent, y.

virtual std::string get_name() const

Return the name of the class.