The file functions FindMatchingFiles
and CreateDirIfMissing
were copied from package AutoDoc where they are named AutoDoc_FindMatchingFiles
and AutoDoc_CreateDirIfMissing
.
The string function StringDotSuffix
was also copied from package AutoDoc, where it is named AUTODOC_GetSuffix
.
The function SetIfMissing
was also transferred from package AutoDoc, where it is called AUTODOC_SetIfMissing
. It writes into a record provided the position is not yet bound.
As from version 0.61, all these functions became obsolete in Utils, but continue to be defined in AutoDoc.
The function PrintOneItemPerLine
was used to prints lists vertically, rather than horizontally. Since a very similar result may be achieved using the GAP library functions Perform
and Display
, this function became obsolete in version 0.61.
gap> s3 := SymmetricGroup( 3 );; gap> L := KnownPropertiesOfObject( GeneratorsOfGroup( s3 ) );; gap> Perform( L, Display ); IsFinite IsSmallList IsGeneratorsOfMagmaWithInverses IsGeneratorsOfSemigroup IsSubsetLocallyFiniteGroup gap> Perform( s3, Display ); () (2,3) (1,3) (1,3,2) (1,2,3) (1,2)
The function PrintApplicableMethod
, which was included in versions from 0.41 to 0.58, has been removed since it was considered superfluous. The example shows how to print out a function.
gap> ApplicableMethod( IsCyclic, [ Group((1,2,3),(4,5)) ], 1, 1 ); #I Searching Method for IsCyclic with 1 arguments: #I Total: 7 entries #I Method 4: ``IsCyclic'' at /Applications/gap/gap4r9/lib/grp.gi:30 , value: 36 function( G ) ... end gap> Print( last ); function ( G ) if Length( GeneratorsOfGroup( G ) ) = 1 then return true; else TryNextMethod(); fi; return; end gap> ApplicableMethod( IsCyclic, [ Group((1,2,3),(4,5)) ], 0, 3 ); function( <1 unnamed arguments> ) ... end gap> Print( last ); function ( <<arg-1>> ) <<compiled GAP code from GAPROOT/lib/oper1.g:578>> end
The function ExponentOfPrime
was originally transferred from package RCWA. The command ExponentOfPrime(n,p)
returned the exponent of the prime p in the prime factorization of n.
Since the GAP function PValuation
produces the same results, and does so more quickly, this function has been made obsolete.
generated by GAPDoc2HTML