On Fri, Jan 8, 2010 at 5:19 PM, David Goldsmith <[email protected]>wrote:
> On Fri, Jan 8, 2010 at 1:40 PM, Charles R Harris > <[email protected]> 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
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
