Oops --- I see it already does this check.
On 10/12/07, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
> On 10/12/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> > Ratdiff is a function that is intended for use only on polynomials or ratios
> > of polynomials in simple independent symbolic variables. It does not use
> > any knowledge of exponential, trigonometric, or other functions. It only
> > knows about +, *, -, / and integer powers.
>
> Perhaps it should check that the kernels don't depend on the variable.
> For cases where ratdiff actually gives a meaningful speedup, this
> will not affect the runtime noticeably.
>
> -s
>