Difference between revisions of "CoCoA:RefineGCDFreeBasis"
From ApCoCoAWiki
(pushing XML rev. 1.46, again) |
(No difference)
|
Latest revision as of 10:02, 24 October 2007
RefineGCDFreeBasis
refine an integer GCD free basis
Description
This function computes a refined GCD free basis by adjoining a given
integer to it. The value returned is [NewB, N2] where NewB is the
refined basis and N2 is the part of N coprime to every element of B.
Example
B := GCDFreeBasis(GCDFreeBasis([Fact(10),Bin(20,10)]); [14175, 4, 46189] ------------------------------- RefineGCDFreeBasis(B, 15); [[7, 3, 5, 4, 46189], 1] -------------------------------
Syntax
RefineGCDFreeBasis(B:LIST of INT, N:INT):LIST of INT
<type>int</type>