Template Class MinValueRegularized

Class Documentation

template<typename ABS_CLASS>
class Mechatronix::MinValueRegularized

smooth min value base class

Inizialization

build regularized minimum class

inline explicit MinValueRegularized()
inline ~MinValueRegularized()

destroy regularized minimum class

Update

set regularization parameter

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

set regularization parameter

inline void update_h(real_type h)

Evaluate

Compute regularized function

inline real_type operator()(real_type x, real_type y) const
inline real_type D_1(real_type x, real_type y) const

Compute \( \displaystyle\frac{\partial}{\partial_x} \min(x,y) \)

inline real_type D_2(real_type x, real_type y) const

Compute \( \displaystyle\frac{\partial}{\partial_y} \min(x,y) \)

inline real_type D_1_1(real_type x, real_type y) const

Compute \( \partial^2_x \min(x,y) \)

inline real_type D_1_2(real_type x, real_type y) const

Compute \( \displaystyle\frac{\partial}{\partial_x}\displaystyle\frac{\partial}{\partial_y} \min(x,y) \)

inline real_type D_2_2(real_type x, real_type y) const

Compute \( \displaystyle\frac{\partial^2}{\displaystyle\frac{\partial}{\partial_y}^2} \min(x,y) \)

Info

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