Anybody help me to get the first derivatives in spline()?


ejspark
11-17-2003, 05:54 PM
Dear NR friends,

I have a problem in coding spline() function in my program. Because i am not familiar with mathematical theory and numerical procedure, i am not able to proceed with my program.

My problem is that i dont get spiline()'s yp1 and ypn which are first derivatives at endpoints. How can i solve them? Does anybody help me in solving and/or understand yp1 and ypn?
If any, where can i find source code to solve them?

Thanks in advance and regards,

Joon

Taylor
12-02-2003, 04:03 AM
I would set them both to values > than
1 *(10^30)