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