1
.TH feval 1 "April 1993" "Scilab Group" "Scilab Function"
4
feval - multiple evaluation
16
: function or character string (for Fortran call)
18
Multiple evaluation of a function for one or two arguments
22
returns the vector \fVz\fR defined by
27
.Vb z, z(i,j)=f(x(i),y(j))
30
\fVf\fR is an external (function or routine) depending
31
on one or two arguments which are supposed to be real.
32
The result returned by \fVf\fR can be real or complex.
33
In case of a Fortran call, the function \fV 'f' \fR must be defined
34
in the subroutine \fVffeval.f\fR (in directory \fVSCIDIR/routines/default\fR)
37
deff('[z]=f(x,y)','z=x^2+y^2');
39
deff('[z]=f(x,y)','z=x+%i*y');
41
feval(1:10,1:5,'parab') //See ffeval.f file
43
// For dynamic link (see example ftest in ffeval.f)
44
// you can use the link command (the parameters depend on the machine):
45
// unix('make ftest.o');link('ftest.o','ftest); feval(1:10,1:5,'ftest')
48
evstr, horner, execstr, external, link