Class AbsoluteValueRegularizedWithErf¶
Defined in File RegularizedAbs.hxx
Inheritance Relationships¶
Base Type¶
public Mechatronix::RegularizedBase(Class RegularizedBase)
Derived Type¶
public Mechatronix::AbsoluteValueRegularizedWithErf0(Class AbsoluteValueRegularizedWithErf0)
Class Documentation¶
-
class
Mechatronix::AbsoluteValueRegularizedWithErf: public Mechatronix::RegularizedBase¶
-
Absolute value smoothed
\[ |x| \approx |x|_{\kappa} =x\cdot\mathrm{erf}(\kappa x)+\frac{\mathrm{e}^{-\kappa^2 x^2}}{\kappa\sqrt{\pi}} \]where \( \kappa \) satisfy
\[ (|h|_{\kappa})' = 1-h \]and looks like:

Subclassed by Mechatronix::AbsoluteValueRegularizedWithErf0
Inizialization
-
inline explicit
AbsoluteValueRegularizedWithErf()¶
-
virtual void
setup(GenericContainer const &gc) override¶
-
Initialize class using generic container that must contain
gc("h")the value of the smoothing parameter.
-
void
setup(real_type h)¶
-
Initialize
AbsoluteValueRegularizedWithErfgivenhInitialize class setting the smoothing parameter
h
Evaluate
Info
-
virtual string
info() const override¶
-
inline explicit

