[Numpy-discussion] numpy.matlib.abs

Keith Goodman kwgoodman@gmail....
Sun Feb 4 19:06:34 CST 2007


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:     <type 'numpy.ufunc'>
String Form:    <ufunc 'absolute'>
Namespace:      Interactive
Docstring:
    y = absolute(x) takes |x| elementwise.

>> M.abs?
Object `M.abs` not found.


More information about the Numpy-discussion mailing list