isApprox check if other and *this are approximately equals given a precision treshold Only two curves of the same class can be approximately equals, for comparison between different type of curves see isEquivalent. More...
isEquivalent check if other and *this are approximately equal by values, given a precision treshold. This test is done by discretizing both curves and evaluating them and their derivatives. More...
isApprox check if other and *this are approximately equal given a precision treshold Only two curves of the same class can be approximately equal, for comparison between different type of curves see isEquivalent. More...
template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>, typename Point_derivate = Point>
class ndcurves::constant_curve< Time, Numeric, Safe, Point, Point_derivate >
Represents a constant_curve curve, always returning the same value and a null derivative.
template<typename Time = double, typename Numeric = Time, bool Safe = false, typename Point = Eigen::Matrix<Numeric, Eigen::Dynamic, 1>, typename Point_derivate = Point>
typedef constant_curve<Time, Numeric, Safe, Point, Point_derivate> ndcurves::constant_curve< Time, Numeric, Safe, Point, Point_derivate >::constant_curve_t
isApprox check if other and *this are approximately equals given a precision treshold Only two curves of the same class can be approximately equals, for comparison between different type of curves see isEquivalent.
Parameters
other
the other curve to check
prec
the precision treshold, default Eigen::NumTraits<Numeric>::dummy_precision()