Class ClipIntervalWithPolynomial¶
Defined in File RegularizedClip.hxx
Inheritance Relationships¶
Base Type¶
public Mechatronix::IntervalBase
(Class IntervalBase)
Class Documentation¶
-
class
Mechatronix
::
ClipIntervalWithPolynomial
: public Mechatronix::IntervalBase¶
-
interval clipping class
Inizialization
-
inline explicit
ClipIntervalWithPolynomial
()¶
-
void
setup
(real_type h, real_type delta = 0)¶
-
Set
h
anddelta
for the approximation of characteristic of clipping function: \( \textrm{clip}(x) \approx \max\{-1,\min\{1,x\}\} \)\[\begin{split} \textrm{clip}(x) = \begin{cases} -1 & $x \leq 1-h$ \\[1em] -1+\frac{(3h-x-1)(1+h+x)^3}{16 h^3} & $x<h-1$ \\[1em] x & $x<1-h$ \\[1em] 1-\frac{(x-1+3h)(1+h-x)^3}{16 h^3} & $x<1+h$ \\[1em] 1 & otherwise \end{cases} \end{split}\]the true clipping is
\[ (1-\delta)\textrm{clip}(x) + \delta\,x \]
-
void
setup
(GenericContainer const &gc)¶
Evaluate
Info
-
virtual string
info
() const override¶
-
inline explicit