Class RegularizedBase

Inheritance Relationships

Derived Types

Class Documentation

class Mechatronix::RegularizedBase

Base class for regularized functions.

Subclassed by Mechatronix::AbsoluteValue, Mechatronix::AbsoluteValueRegularizedWithErf, Mechatronix::AbsoluteValueRegularizedWithPolynomial, Mechatronix::AbsoluteValueRegularizedWithSinAtan, Mechatronix::AbsoluteValueRegularizedWithSinAtan0, Mechatronix::AbsoluteValueRegularizedWithTanh, Mechatronix::AbsoluteValueRegularizedWithTanh0, Mechatronix::Barrier1X, Mechatronix::BarrierLog, Mechatronix::BarrierLog0, Mechatronix::BarrierLogExp, Mechatronix::DiffModuleN, Mechatronix::NegativePart, Mechatronix::NegativePartRegularizedWithErf, Mechatronix::NegativePartRegularizedWithPolynomial, Mechatronix::NegativePartRegularizedWithSinAtan, Mechatronix::NegativePartRegularizedWithTanh, Mechatronix::PosRegularized, Mechatronix::PositivePart, Mechatronix::PositivePartRegularizedWithErf, Mechatronix::PositivePartRegularizedWithPolynomial, Mechatronix::PositivePartRegularizedWithSinAtan, Mechatronix::PositivePartRegularizedWithTanh, Mechatronix::Power1Regular, Mechatronix::Power2Regular, Mechatronix::Power4Regular, Mechatronix::Sign, Mechatronix::SignRegularizedWithErf, Mechatronix::SignRegularizedWithPolynomial, Mechatronix::SignRegularizedWithSinAtan, Mechatronix::SignRegularizedWithTanh, Mechatronix::WallErfPower1, Mechatronix::WallErfPower2, Mechatronix::WallErfPower3, Mechatronix::WallPiecewise, Mechatronix::WallPiecewisePower1, Mechatronix::WallPiecewisePower2, Mechatronix::WallPiecewisePower3, Mechatronix::WallRegular, Mechatronix::WallSmooth, Mechatronix::WallTanhPower1, Mechatronix::WallTanhPower2, Mechatronix::WallTanhPower3

Inizialization

inline explicit RegularizedBase()

build regularized function

inline virtual ~RegularizedBase()

destroy regularized function

virtual void setup(GenericContainer const &gc) = 0

Evaluate

compute regularized function

virtual real_type operator()(real_type x) const = 0
virtual real_type D(real_type x) const = 0

compute first derivative of regularized function

virtual real_type DD(real_type x) const = 0

compute second derivative of regularized function

Info

dump information on regularized function

virtual string info() const = 0
inline void info(ostream_type &stream) const

stream information on regularized function