Hi,
But I guess splin() gets the derivatives [...]
Oh, maybe I was not clear. The memory issue is not here. There is not problem to compute z. The loop is used to show the problem: it seems that interp doesn't free the used memory after each call. So after hundreds of call Scilab is killed!
for i=1:1000 mprintf("%d\n",i); n=1e6; xp=1:n; x=1:100:n; y=rand(x); d=splin(x,y); z=interp(xp,x,y,d); end --Jean-Yves _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users