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 The goal is to find the interpolated potential and force (negative derivative of the cubic spline
d*u
7 楼
不用,但你还得赶紧更新护照呀
g*o
8 楼
guava,应该可以吃
J*k
9 楼
是首歌吗,挺好奇的,去听听
e*x
10 楼
你把端口改一下试试。
【在 m*t 的大作中提到】 : 我现在用他们的cable服务,申请了static IP : 可是发现不能用自己的机器做web server : 我可以从别的地方ssh到这个server上,MYSQL也能连,可是就是不能用浏览器连 : 不知道怎么办?难不成optimum把所有80端口的请求都屏蔽了?
s*l
11 楼
subroutine seval(n, u, x, y, b, c, d, f, df, d2f) implicit none integer n double precision u, x(n), y(n), b(n), c(n), d(n) double precision f, df, d2f ! ! this subroutine evaluates the cubic spline function ! ! seval = y(i) + b(i)*(u-x(i)) + c(i)*(u-x(i))**2 + d(i)*(u-x(i))**3 ! ! where x(i) .lt. u .lt. x(i+1), using horner's rule ! ! if u .lt. x(1) then i = 1 is used. ! if u .ge. x(n) then i = n is used. ! ! input..
【在 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