up previous next
4.10.2 Numerators and Denominators for Rational Functions
|
***** NOT YET UPDATED TO CoCoA-5: follow with care *****
If F is a variable holding a rational function, then F.Num and F.Den
are the numerator and denominator, respectively. The functions
Num
and
Den
, respectively, return the same.
F := x/(x+y);
F.Num;
x
-------------------------------
F.Den;
x+y
-------------------------------
Den(F);
x + y
-------------------------------
|