Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 optional argument for sqfr

open
nobody
None
5
2012-11-18
2004-03-10
Barton Willis
No

The behavior of sqfr depends on the value of ratvars,
but the user documentation doesn't say that it does.
So this should be a bug report, but I think it would be
better to give sqfr an optional second argument
that does what ratvars does. I've included
a proposed new sqfr function

C1) display2d : false$
(C2) p : expand((x-a)*(x-b)*(x-y^2))$
(C3) sqfr(p);
(D3) -(x^2+(-b-a)*x+a*b)*(y^2-x)
(C4) ratvars(a)$
(C5) sqfr(p);
(D5) (a-x)*(x-b)*(y^2-x)

Barton

Discussion

  • Barton Willis
    Barton Willis
    2004-03-10

    sqfr with optional 2nd argument

     
    Attachments