[Numpy-discussion] fumfunction question
Wed Apr 18 13:32:12 CDT 2007
OK...I think I understand. But just to clarify:
Suppose I have a function that can take 3 parameters
Is it appropriate to use something like
where x and y give the array dimensions and const is another variable
that is used to perform operations within f.
I know that it doesn't work, but I just wanted to check to see if there
is possibly a syntax that can work.
Travis Oliphant wrote:
> Mark.Miller wrote:
>> Can additional function arguments (aside from the dimensions of an
>> array) be used in conjunction with fromfunction?
> Yes --- as long as they are keyword arguments.
> Keyword arguments can be passed in and they will be handed over to the
> function as keyword arguments.
> Numpy-discussion mailing list
More information about the Numpy-discussion