On 2/6/07, Paulo J. S. Silva <[EMAIL PROTECTED]> wrote:
> Em Dom, 2007-02-04 às 17:28 -0800, Keith Goodman escreveu:
>
> > Could numpy.matlib get the same functions as numpy? Would that have to
> > be done with a manually maintained import list?
> > I always use "import numpy.matlib as M" and then
Em Dom, 2007-02-04 às 17:28 -0800, Keith Goodman escreveu:
> Could numpy.matlib get the same functions as numpy? Would that have to
> be done with a manually maintained import list?
> I always use "import numpy.matlib as M" and then search for function
> names in ipython (M.a[TAB]). I didn't reali
On 2/4/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Keith Goodman wrote:
> > There's a numpy.abs but no numpy.matlib.abs.
> >
> >>> import numpy as N
> >>> import numpy.matlib as M
> >>>
> >>> N.abs?
> > Type: ufunc
> > Base Class:
> > String Form:
> > Namespace: Interactive
Keith Goodman wrote:
> There's a numpy.abs but no numpy.matlib.abs.
>
>>> import numpy as N
>>> import numpy.matlib as M
>>>
>>> N.abs?
> Type: ufunc
> Base Class:
> String Form:
> Namespace: Interactive
> Docstring:
> y = absolute(x) takes |x| elementwise.
>
>>> M.abs
There's a numpy.abs but no numpy.matlib.abs.
>> import numpy as N
>> import numpy.matlib as M
>>
>> N.abs?
Type: ufunc
Base Class:
String Form:
Namespace: Interactive
Docstring:
y = absolute(x) takes |x| elementwise.
>> M.abs?
Object `M.abs` not found.