[Numpy-discussion] Stupid question (at least coming from me it is)

Charles R Harris charlesr.harris@gmail....
Fri Jan 8 19:29:46 CST 2010


On Fri, Jan 8, 2010 at 5:19 PM, David Goldsmith <d.l.goldsmith@gmail.com>wrote:

> On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> >
> > chebyshev.chebdomain is the default chebyshev domain and is [-1,1]. Maybe
> it
> > needs a bettter name? Note that it is integer; that isn't required, but
> it
> > makes it compatible with other types like Decimal that don't mix with
> > floats. Another possibility is to make it a function so I can document
> it,
>
> That's "the problem" I'm working on. :-)
>
>
There are four variables defined

# Chebyshev default domain.
chebdomain = np.array([-1,1])

# Chebyshev coefficients representing zero.
chebzero = np.array([0])

# Chebyshev coefficients representing one.
chebone = np.array([1])

# Chebyshev coefficients representing the identity x.
chebx = np.array([0,1])

And corresponding ones in the polynomial module. I can make them all
functions if that would help, I thought of doing that in the first place...

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100108/e8a96fdd/attachment.html 


More information about the NumPy-Discussion mailing list