Am Montag, den 15.03.2010, 10:38 -0700 schrieb Mike Hansen:
> 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
>
Of course, I forgot, sorry
Eckhard
--
Service für Mathematik und Simulation
Dr. Eckhard Kosin, selbständiger Diplom-Mathematiker
Am Nymphenbad 14
D-81245 München, Germany
Tel.: (+49)(+89) 88 88 479
Tel.,Fax: (+49)(+89) 835 844
mailto:[email protected]
http://www.mathematik-service-kosin.de
--
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