CoCoA:Fraction

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Fraction

returns the quotient of its arguments

Description

This function returns E/F provided the quotient is defined (see

Algebraic Operators).

Example

  Use R ::= Q[x,y];
  Fraction(2,3);
2/3
-------------------------------
  Fraction(2,4);
1/2
-------------------------------
  Fraction(x,x+y);
x/(x + y)
-------------------------------
  Fraction(5%11,6%11);
10 % 11
-------------------------------

Syntax

Fraction(E:OBJECT,F:OBJECT)

Algebraic Operators

   <type>integer</type>
   <type>polynomial</type>
   <type>rat</type>
   <type>ratfun</type>
   <type>zmod</type>