CLAMPED CUBIC SPLINE ALGORITHM;
2016-08-23
0 0 0
no vote
Other
Earn points
Numerical calculations Algorithms: CLAMPED CUBIC SPLINE ALGORITHM in Math Written by Pascal
To construct the cubic spline interpolant S for the function f,
defined at the numbers x(0) < x(1) < ... < x(n), satisfyingS'(x(0)) = f'(x(0)) and S'(x(n)) = f'(x(n)):
INPUT: n; x(0), x(1), ..., x(n); either generate A(I) = f(x(I))
for i = 0, 1, ..., n or input A(I) for I = 0, 1, ..., n;
FPO = f'(x(0)) and FPN = f'(x(n)) are both input.
OUTPUT: A(J), B(J), C(J), D(J) for J = 0, 1, ..., n - 1.
NOTE: S(x) = A(J) + B(J) * ( x - x(J) ) + C(J) * ( x - x(J) )**2 +
pascal
算法
三次
Related Source Codes
Classic Interview Questions for Digital City Front
0
0
no vote
HDU-2553 N Queen Question
0
0
no vote
Artificial fish school algorithm
0
0
no vote
Myxomycetes algorithm python
0
0
no vote
Simple graph by free pascal
0
0
no vote
No comment