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)?
numpy.linspace(-5,5,100)over all three dimensions. I don't know the best way to generate them. I guess that's a pre-requisite for the question.