ADReal weight(const ADReal &x) const
Computes the weight of the first function.
ADWeightedTransition(const ADReal &x_center, const ADReal &transition_width)
Constructor.
const std::vector< double > x
Weighted transition between two functions of one variable.
virtual ADReal value(const ADReal &x, const ADReal &f1, const ADReal &f2) const override
Computes the transition value.
Base class for smooth transitions between two functions of one variable.