[Numpy-discussion] Adding the new polynomial/chebyshev modules.

Charles R Harris charlesr.harris@gmail....
Sat Nov 14 13:17:56 CST 2009

Hi All,

I would like some advise on the best way to add the new functions. I've
added a new package polynomial, and that package contains four new modules:
chebyshev, polynomial, polytemplate, polyutils. The question is whether or
not to include all of the functions in these packages in the __init__.py, or
to just import the modules. It is a namespace question, i.e., to get to the
chebyshev functions should one do

import numpy.polynomial.chebyshev

or just

import numpy.polynomial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091114/4a281dcd/attachment.html 

More information about the NumPy-Discussion mailing list