Class AbsoluteValueRegularizedWithTanh0¶
Defined in File RegularizedAbs.hxx
Inheritance Relationships¶
Base Type¶
public Mechatronix::RegularizedBase(Class RegularizedBase)
Class Documentation¶
-
class
Mechatronix::AbsoluteValueRegularizedWithTanh0: public Mechatronix::RegularizedBase¶
-
Evaluate
\[ |x| \approx |x|_{\kappa} - |0|_{\kappa} \]where
\[ |x|_{\kappa} = \frac{1}{\kappa}\log(\mathrm{cosh}(\kappa x)) \]Inizialization
-
inline explicit
AbsoluteValueRegularizedWithTanh0()¶
-
virtual void
setup(GenericContainer const &gc) override¶
-
Initialize class using generic container that must contain
gc("h")the value of the smoothing parameter.
Evaluate
Info
-
virtual string
info() const override¶
-
inline explicit