[Numpy-discussion] chebyshev polynomials

Charles R Harris charlesr.harris at gmail.com
Thu Sep 24 22:00:17 EDT 2009


On Thu, Sep 24, 2009 at 1:31 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Thu, Sep 24, 2009 at 14:18, Pauli Virtanen <pav at iki.fi> wrote:
>
> > As a side note, should the cheby* versions of `polyval`, `polymul` etc.
> > just be dropped to reduce namespace clutter? You can do the same things
> > already within just class methods and arithmetic.
>
> Just to clarify, you mean having classmethods that work on plain
> arrays of Chebyshev coefficients? I'm +1 on that. I'm -1 on only
> having a ChebyPoly class with instance methods, although it would be
> useful to have as an adjunct to the plain routines.
>
>
Let me see if I understand this correctly. You like the idea of a class with
class methods, avoiding namespace polution, but you aren't so hot on having
a chebyshev class like poly1d that contains the series info and overloads
some of the operators?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090924/ca285be4/attachment.html>


More information about the NumPy-Discussion mailing list