Up | Prev | PrevTail | Tail |
The standard form structure described so far is used by default for the fully expanded expressions with common denominator. By setting on factor, off exp, or off mcd the slots mvar and ldeg may be used in an exended style:
Here the numerator form of the standard quotient is a sum where each term is a product of one kernel with a positive and one kernel with a neagative exponent.
Here the numerator is a standard form in factored form where the inner polynomials (x + y) and (y + 1) are used as mvars, the first one with the exponent 2 and the second one with exponent 1.
Special functions to work with composite standard forms:
sfp(m) | test if m is a standard form (T) or a kernes(NIL) |
expnd(f) | expand a standard form f |
To distinguish between factored and expanded standard forms, use the predicated sfp: sfp applied to mvar of a standard form returns T if the main variable slot is occupied by a nested standard form. To expand a factored standard form you may use the funtion expnd; however, you need to turn the switch exp on during that call, e.g.
Don’t build non–expanded standard forms yourself – otherwise you run the risk to produce objects with a bad structure (e.g. a wrong term order) resulting in wrong computational results. You better rely on the standard routines for manipulating these objects – as soon as *exp is off and *factor is on they produce the product forms anyway.
Up | Prev | PrevTail | Front |