CommonDenominator(R, Q, A)¶
cden.spad line 43 [edit on github]
CommonDenominator provides functions to compute the common denominator of a finite linear aggregate of elements of the quotient field of an integral domain.
- clearDenominator: A -> A
clearDenominator([q1, ..., qn])
returns[p1, ..., pn]
such thatqi = pi/d
whered
is a common denominator for theqi
's
.
- commonDenominator: A -> R
commonDenominator([q1, ..., qn])
returns a common denominatord
forq1
, …,qn
.
- splitDenominator: A -> Record(num: A, den: R)
splitDenominator([q1, ..., qn])
returns[[p1, ..., pn], d]
such thatqi = pi/d
andd
is a common denominator for theqi
's
.