[Numpy-discussion] Stupid question (at least coming from me it is)
Charles R Harris
Fri Jan 8 19:29:46 CST 2010
On Fri, Jan 8, 2010 at 5:19 PM, David Goldsmith <email@example.com>wrote:
> On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris
> <firstname.lastname@example.org> wrote:
> > chebyshev.chebdomain is the default chebyshev domain and is [-1,1]. Maybe
> > needs a bettter name? Note that it is integer; that isn't required, but
> > 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
> 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()
# Chebyshev coefficients representing one.
chebone = np.array()
# 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...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion