- anlaysis with Xi -
For numerical integration and differentiation Xi computes a spline under tension through the data points. The use is straight forward:
( 1)>x=dincarr(100)/100;
( 2)>print(integrate(x,exp(x)+1,0,1));
<double> 2.71828
( 3)>print(derive(x,exp(x),{0,1}));
<dblarr>
1 2.7182787
Please note that the function derive expects an array for desired positions.