Class PositivePartRegularizedWithTanh

Inheritance Relationships

Base Type

Class Documentation

class Mechatronix::PositivePartRegularizedWithTanh : public Mechatronix::RegularizedBase

Positive part smoothed.

Inizialization

inline explicit PositivePartRegularizedWithTanh()
virtual void setup(GenericContainer const &gc) override
void setup(real_type h)

Initialize PositivePartRegularizedWithTanh given h

inline void update_h(real_type h)

Evaluate

virtual real_type operator()(real_type x) const override

Evaluate

\[ f(x) = \frac{\log(\mathrm{e}^{2\kappa x}+1)}{2\kappa} \]

../_images/PositivePartRegularizedWithTanh0.jpeg

virtual real_type D(real_type x) const override

../_images/PositivePartRegularizedWithTanh1.jpeg

virtual real_type DD(real_type x) const override

../_images/PositivePartRegularizedWithTanh2.jpeg

Info

virtual string info() const override