
numer - numerator of a rational expression

Calling sequence:

numer(expr)

Parameter:

expr   --  expression

Summary:

numer returns the numerator of the rational expression expr. For this, expr
is converted into its normal form with normal. The numerator is an expanded
polynomial expression, compare with function normal .

>>  numer(-3/4);

     -3

>>  numer(x + 1/(2/3*x - 2/x));

     -3*x + 2*x^3

>>  numer((cos(x)^2 - 1) / (cos(x) - 1));

     cos(x) + 1

See also:  denom , gcd, normal

