Class MEAL::ScalarErrorFunction

class ScalarErrorFunction : public MEAL::UnaryScalar

The error function \( \mathrm{erf}(x) \) of a Scalar function.

Public Functions

virtual double function(double x) const

The function.

virtual double dfdx(double x) const

And its first derivative.

virtual std::string get_name() const

Return the name of the class.