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

lorenzo bolla lbolla@gmail....
Mon Apr 30 02:17:08 CDT 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@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@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070430/a71fc460/attachment.html 


More information about the Numpy-discussion mailing list