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