Template Class HoleRegularized

Class Documentation

template<typename POSITIVE_REGULAR_CLASS>
class Mechatronix::HoleRegularized

Hole functions smoothed

\[\begin{split} h(x,a,b) = \beign{cases} s(x-b) & if $x > b$ \\ s(a-x) & if $x < a$ \\ 0 & otherwise \end{cases} \end{split}\]

Inizialization

inline void setup(real_type h, real_type slope)
inline void setup(GenericContainer const &gc)

Update

inline void update_h(real_type h)
inline void update_slope(real_type slope)

Evaluate

inline real_type operator()(real_type x, real_type a, real_type b) const
inline real_type D_1(real_type x, real_type a, real_type b) const
inline real_type D_2(real_type x, real_type a, real_type) const
inline real_type D_3(real_type x, real_type, real_type b) const
inline real_type D_1_1(real_type x, real_type a, real_type b) const
inline real_type D_1_2(real_type x, real_type a, real_type) const
inline real_type D_1_3(real_type x, real_type, real_type b) const
inline real_type D_2_2(real_type x, real_type a, real_type) const
inline real_type D_2_3(real_type, real_type, real_type) const
inline real_type D_3_3(real_type x, real_type, real_type b) const

Info

inline string info() const
inline void info(ostream_type &stream) const