DualNumber< Real, DNDerivativeType, true > ADReal
const std::vector< double > x
Base class for smooth transitions between two functions of one variable.
const ADReal _transition_width
Width of transition.
const ADReal & leftEnd() const
Returns the coordinate of the left end of the transition.
const ADReal _x2
Right end point of transition.
const ADReal _x_center
Center point of transition.
const ADReal _x1
Left end point of transition.
virtual ADReal value(const ADReal &x, const ADReal &f1, const ADReal &f2) const =0
Computes the transition value.
const ADReal & rightEnd() const
Returns the coordinate of the right end of the transition.