Template Class RectangleRegularized

Class Documentation

template<typename SIGN_REGULAR_CLASS>
class Mechatronix::RectangleRegularized

regularized version of

\[\begin{split} \textrm{rect}(x,a,b) = \begin{cases} 1 & x\in[a,b] \\[1em] 0 & \mathrm{otherwise} \end{cases} \end{split}\]

Update

inline void setup(real_type h)
inline void setup(GenericContainer const &gc)
inline void update_h(real_type h)

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