I want to create an array holding a function f(x,y,z)
. If it were a function of one variable I'd do, for instance:
sinx = numpy.sin(numpy.linspace(-5,5,100))
to get sin(x)
for x
in [-5,5]
How can I do the same to get, for instance sin(x+y+z)
?