Template Class MaxValueRegularized

Class Documentation

template<typename ABS_CLASS>
class Mechatronix::MaxValueRegularized

smooth max value base class

Inizialization

build regularized maximum class

inline explicit MaxValueRegularized()
inline ~MaxValueRegularized()

destroy regularized maximum 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)

update parameter 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} \max(x,y) \)

inline real_type D_2(real_type x, real_type y) const

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

inline real_type D_1_1(real_type x, real_type y) const

Compute \( \partial^2_x \max(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} \max(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} \max(x,y) \)

Info

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