On Mon, Mar 15, 2010 at 10:32 AM, Eckhard Kosin
<[email protected]> wrote:
> sage: fromfunction(lambda i,j:i-j+3,(1,1),dtype=int)
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call
> last)
>
> /home/ecki/<ipython console> in <module>()
>
> NameError: name 'fromfunction' is not defined
>

You'd need to do "from numpy import fromfunction".

--Mike

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to