Doc says:
"The value of the polynomial spline function for an argument x is computed as follows:
The knot array is searched to find the segment to which x belongs. If x is less than the smallest knot point or greater than the largest one, an IllegalArgumentException is thrown. Let j be the index of the largest knot point that is less than or equal to x. The value returned is polynomials[j](x - knot[j])"
I do not understand this part, why is returned polynomials[j](x - knot[j])
and not
polynomials[j](x)
?