Interpolation On The Unit Interval Without Exact Derivatives
Given p-1, p0, p1 and p2 as the values that the function should take on at -1, 0, 1 and 2, we can use centered differences instead of exact derivatives. Thus the Catmull–Rom spline is
for, where the left-hand vector is independent of the p.
This writing is relevant for tricubic interpolation, where one optimization requires you to compute CINTx sixteen times with the same x and different p.
Read more about this topic: Cubic Hermite Spline
Famous quotes containing the words unit, interval and/or exact:
“During the Suffragette revolt of 1913 I ... [urged] that what was needed was not the vote, but a constitutional amendment enacting that all representative bodies shall consist of women and men in equal numbers, whether elected or nominated or coopted or registered or picked up in the street like a coroners jury. In the case of elected bodies the only way of effecting this is by the Coupled Vote. The representative unit must not be a man or a woman but a man and a woman.”
—George Bernard Shaw (18561950)
“The yearning for an afterlife is the opposite of selfish: it is love and praise for the world that we are privileged, in this complex interval of light, to witness and experience.”
—John Updike (b. 1932)
“Hunger makes you restless. You dream about foodnot just any food, but perfect food, the best food, magical meals, famous and awe-inspiring, the one piece of meat, the exact taste of buttery corn, tomatoes so ripe they split and sweeten the air, beans so crisp they snap between the teeth, gravy like mothers milk singing to your bloodstream.”
—Dorothy Allison (b. 1953)