|
hi...
can any body help me to write a code in C that reads a file and do the interpolation........ The file is as below.............
alpha M beta spin
1 -12 0.8 0 330
2 -8 0.8 0 330
3 -4 0.8 0 330
4 -0 0.8 0 330
5 1 0.8 0 330
6 2 0.8 0 330
7 3 0.8 0 330
8 4 0.8 0 330
9 5 0.8 0 330
I WANT TO READ THE FILE AND STORE THE VALUES OF alpha,M,beta and spin for the 9 cases in a single variable say alpha[i],M[i],beta[i],spin[i]...(the no 9 differs from file to file)...and then perform interpolation.............
Thanks........
This post has been edited by felix_alex2001: 12 May, 2008 - 03:11 AM
|