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