MathTL/numerics/bezier.h
inline
  double EvaluateHermiteSpline_td_x(const int i, const int j, const int k, const double x) {
#if 0
    return twotothejhalf(3*j) * EvaluateHermiteSpline_x(i, (1<<j) * x - k);
#else
    return (double)(1<<j) * (double)twotothejhalf(j) * EvaluateHermiteSpline_x(i, (1<<j) * x - k);
#endif
  }
/*!
    evaluate the first derivative of a translated and dilated version of the i-th cubic Hermite interpolant
  */
evaluate the first derivative of a translated and dilated version of the i-th cubic Hermite interpolant
evaluate the first derivative of a translated and dilated version of the i - th cubic Hermite interpolant
inline
  double EvaluateHermiteSpline_td_x(const int i, const int j, const int k, const double x) {
#if 0
    return twotothejhalf(3*j) * EvaluateHermiteSpline_x(i, (1<<j) * x - k);
#else
    return (double)(1<<j) * (double)twotothejhalf(j) * EvaluateHermiteSpline_x(i, (1<<j) * x - k);
#endif
  }
inline double EvaluateHermiteSpline_td_x ( const int i , const int j , const int k , const double x ) { #if 0 return twotothejhalf ( 3 * j ) * EvaluateHermiteSpline_x ( i , ( 1 << j ) * x - k ) ; #else return ( double ) ( 1 << j ) * ( double ) twotothejhalf ( j ) * EvaluateHermiteSpline_x ( i , ( 1 << j ) * x - k ) ; #endif }
evaluate the first derivative of a translated and dilated version of the i-th cubic Hermite interpolant
evaluate the first derivative of a translated and dilated version of the i - th cubic Hermite interpolant