w****g 发帖数: 44 | 1 Hello:
any one know how to obtain the derivative of the cubic spline interpolation
results using a program ?
I am thinking about using a program to find the cubic spline interpolation
and the
derivative of the cubic spline interpolation results based on the input. the
example input file is listed below: a list of potential energies of a pair
particles as a function of the distance
r1 E1
r2 E2
r3 E3
r4 E4
r5 E5
The goal is to find the interpolated potential and force (negative
derivative of the c | B****g 发帖数: 43 | 2 not difficult to calculate by yourself, the key is to calcualte the B-
spline coefficients, then you can compute gradient
interpolation
the
【在 w****g 的大作中提到】 : Hello: : any one know how to obtain the derivative of the cubic spline interpolation : results using a program ? : I am thinking about using a program to find the cubic spline interpolation : and the : derivative of the cubic spline interpolation results based on the input. the : example input file is listed below: a list of potential energies of a pair : particles as a function of the distance : r1 E1 : r2 E2
|
|