Class AbsoluteValueRegularizedWithPolynomial¶
Defined in File RegularizedAbs.hxx
Inheritance Relationships¶
Base Type¶
public Mechatronix::RegularizedBase
(Class RegularizedBase)
Class Documentation¶
-
class
Mechatronix
::
AbsoluteValueRegularizedWithPolynomial
: public Mechatronix::RegularizedBase¶
-
Absolute value smoothed
Evaluate
\[\begin{split} |x| \approx \begin{cases} -x-h/3 & x < -h \\[1em] (3h+x)(x/h)^2/3 & x<0 \\[1em] (3h-x)(x/h)^2/3 & x<h \\[1em] x-h/3 & \textrm{otherwise} \end{cases} \end{split}\]Inizialization
-
inline explicit
AbsoluteValueRegularizedWithPolynomial
()¶
-
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
AbsoluteValueRegularizedWithPolynomial
givenh
Initialize class setting the smoothing parameter
h
Evaluate
Info
-
virtual string
info
() const override¶
-
inline explicit