Searched refs:mM (Results 1 – 1 of 1) sorted by relevance
127 private float[] mM; field in Spline.MonotoneCubicSpline179 mM = m; in MonotoneCubicSpline()209 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t) in interpolate()210 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t; in interpolate()225 str.append(": ").append(mM[i]).append(")"); in toString()235 private final float[] mM; field in Spline.LinearSpline243 mM = new float[N-1]; in LinearSpline()245 mM[i] = (y[i+1] - y[i]) / (x[i+1] - x[i]); in LinearSpline()274 return mY[i] + mM[i] * (x - mX[i]); in interpolate()289 str.append(": ").append(mM[i]); in toString()