Class ClipReciprocal¶
Defined in File RegularizedClip.hxx
Class Documentation¶
-
class
Mechatronix
::
ClipReciprocal
¶
-
clip reciprocal class
Inizialization
-
inline explicit
ClipReciprocal
()¶
-
void
setup
(real_type h, real_type a)¶
-
Set
a
andh
for the approximation of clipped function: \( \min(a,x^{-1}) \)\[\begin{split} \textrm{rec}(x) = \begin{cases} a & \textrm{if $x<1/a-h$} \\[1em] a+(x-d)^3(b+c/x) & \textrm{if $x<1/a+h$} \\[1em] 1/x & \textrm{otherwise} \\[1em] \end{cases}, \qquad \textrm{where} \qquad \begin{cases} b = \frac{a}{16\,h^3} & \\[1em] c = -\frac{1+3ah}{16\,h^3} & \\[1em] d = \frac{1}{a}-h & \end{cases} \end{split}\]
-
void
setup
(GenericContainer const &gc)¶
-
inline explicit