[Numpy-discussion] can't import repmat from numpy

lorenzo bolla lbolla at gmail.com
Mon Apr 30 03:17:08 EDT 2007


it looks like repmat is not there anymore... why?
use numpy.repeat and numpy.tile, instead!
hth,
lorenzo.

On 4/30/07, dmitrey <openopt at ukr.net> wrote:
>
> What's wrong?
>
> start python shell;
>
> from numpy import sin   => all ok
>
> from numpy import repmat =>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: cannot import name repmat
>
>
> D.
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070430/a71fc460/attachment.html>


More information about the NumPy-Discussion mailing list