On 29 Jun 2009, at 05:54, William Stein wrote:
> > On Mon, Jun 29, 2009 at 11:52 AM, Ahmed Fasih<wuzzyv...@gmail.com> > wrote: >> >> Giovanni, try this instead: >> >> sage: numpy.random.multinomial(10, [.5,.5], size=20r) >> >> The only difference is the "r" suffix to the size argument. > Thanks for that very clear and detailed response. For the record, > here's the link to the FAQ entry: > > http://wiki.sagemath.org/faq#Typeissuesusingscipy.2CcvxoptornumpyfromSage It would be nice if that wiki FAQ mentioned the option of using an "r" suffix. I didn't know about that possibility until now. I tried to set up a wiki account so I could edit the page, but that didn't seem to work. -- Kevin Horton Ottawa, Canada --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---