[Numpy-discussion] documentation bug: Matrix library page not populated

Ralf Gommers ralf.gommers@googlemail....
Mon Apr 23 13:05:13 CDT 2012


On Thu, Apr 19, 2012 at 3:12 AM, <josef.pktd@gmail.com> wrote:

> On Wed, Apr 18, 2012 at 4:14 PM, Pauli Virtanen <pav@iki.fi> wrote:
> > Hi,
> >
> > 18.04.2012 19:57, Alan G Isaac kirjoitti:
> >>
> http://docs.scipy.org/doc/numpy/reference/routines.matlib.html#module-numpy.matlib
> >> promises a list of functions that does not appear (at the moment,
> anyway).
> >
> > This doesn't seem to be due to a technical reason, but rather than
> > because nobody has written a list of the functions in the docstring of
> > the module.
>
> Is it a good idea to use this? Mixing namespaces would completely confuse
> me.
>
> >>> for f in dir(numpy.matlib):
> ...     try:
> ...         if getattr(numpy.matlib, f).__module__ in ['numpy.matlib',
> 'numpy.matrixlib.defmatrix']: print f
> ...     except: pass
> ...
> asmatrix
> bmat
> empty
> eye
> identity
> mat
> matrix
> ones
> rand
> randn
> repmat
> zeros


Looks good to me. Did you plan to put this somewhere (PR, doc wiki)?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120423/979f8280/attachment-0001.html 


More information about the NumPy-Discussion mailing list