/usr/lib/scilab-plotlib/macros/nonParametricDiffDeriv.sci is in scilab-plotlib 0.42-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | function [zu,zv]=nonParametricDiffDeriv(theSurf,u,v,z)
h=1e-7;
[zu]=theSurf(u+h,v+%eps);
[zv]=theSurf(u+%eps,v+h);
zu=(zu(:)-z(:))/h;
zv=(zv(:)-z(:))/h;
endfunction
|