CoCoA:Fraction
From ApCoCoAWiki
Fraction
returns the quotient of its arguments
Description
This function returns E/F provided the quotient is defined (see
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)
<type>integer</type> <type>polynomial</type> <type>rat</type> <type>ratfun</type> <type>zmod</type>