|
Own (x,y)-data |
Specify the number of data points here 4<=n<=200
n =
Specify the (x,y)-data here, each pair on a new line, the numbers separated by blank or comma,
no parentheses
Do you want a printed output of the formula representation of the spline?
specify the tension parameter here: 0 <= σ <= 50!
σ =
|
|
Synthetic data |
Choose a function
|
f(x) = (x2)(1/3)
|
|
f(x) = 1/(1+25x2)
|
|
f(x) = sin(2*π*x)
|
|
f(x) = tanh(x)
|
|
f(x) = exp(x)
|
|
Specification of a function:
Please type the evaluation program of your function here
using FORTRAN rules.
Your final statement must be
fu= some expression you computed before or just here depending on x
You may use the constants pi, e(=exp(1)), sqrt2(=1.414...),
the integer variables i,j,k, the logicals bool1,bool2,bool3
and the double precision variables sum,h1,h2,h3,h4,y(100),z(100),a(100,100)
which are all intialized with zero resp. .false. .
The routine has the parameters x
(double, input) and fu (double out). never change x!.
first is a local integer and set 0 before calling the function the
first time.
You may use this in order to initialize some local data and set it 1
afterwards to avoid multiple such initialization. Your settings of the local
variables are preserved during program execution.
|
Specify the number of data points to be generated:
n =
Important: 4 <= n <= 200 !
Please specify the interval for the x-data:
Please specify the tension parameter here;
σ =
Important: 0 <= σ <= 50 !
|