[SciPy-dev] Difference between polynomial.trimcoef and trimseq
Sun Jan 24 00:08:52 CST 2010
Do you think a typical user would ever use both? (Or is this an efficiency
that most can live w/out? I'm just curious how much we should "explain
ourselves" in their docstrings.)
PS: If I were to use chebyshev as my "template," what would you say is the
next most useful/algorithmically-studied polynomial basis to implement?
On Sat, Jan 23, 2010 at 10:00 PM, Charles R Harris <
> On Sat, Jan 23, 2010 at 8:52 PM, David Goldsmith <email@example.com>wrote:
>> Is the only difference that which is in the Notes of trimseq: "Do [sic?]
>> not lose the type info if the sequence contains unknown objects"?
> trimseq works on sequence types and doesn't attempt to turn them into
> ndarrays, so does less work than trimcoef. trimseq is also used in as_series
> where trimcoef can't be used because the latter calls as_series itself to
> convert its arguments to ndarrays. I admit the distinction is not obvious at
> first glance.
> SciPy-Dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev