Skip to content

Commit

Permalink
fix typos (mainly an -> a)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRussell authored and fingolfin committed Jun 12, 2017
1 parent b1104a3 commit bd386e9
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion doc/hpc/vars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ semantics of global variables that are only accessed by a single thread remain u
<Section Label="Global variables">
<Heading>Global variables</Heading>

Global variables in HPC-GAP an be accessed by all threads concurrently without explicit synchronization. Concurrent
Global variables in HPC-GAP can be accessed by all threads concurrently without explicit synchronization. Concurrent
access is safe, but it is not deterministic. If multiple threads attempt to modify the same global variable
simultaneously, the resulting value of the variable is random; it will be one of the values assigned by a thread, but it
is impossible to predict with certainty which specific one will be assigned.
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/fpsemi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ finitely presented monoid). Conversely elements of the finitely presented
semigroup (resp. finitely presented monoid) are not words of the free
semigroup (resp. free monoid).
<P/>
Calculations comparing elements of an finitely presented semigroup
Calculations comparing elements of a finitely presented semigroup
may run into problems: there are finitely presented semigroups for
which no algorithm exists (it is known that no such algorithm can exist)
that will tell for two arbitrary words in the generators whether the
Expand Down
4 changes: 2 additions & 2 deletions hpcgap/lib/info.gi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## InfoSelector, and classes and selectors may be built up with \+
#N I wanted to use \or, but this isn't at operation
##
## An message is associated with a selector and a level and is
## A message is associated with a selector and a level and is
## printed when the desired level for any of the classes in the selector
## equals or exceeds the level of the message
##
Expand Down Expand Up @@ -330,7 +330,7 @@ BIND_GLOBAL( "InfoDecision", function(selectors, level)
fi;
fi;

# store the class an level
# store the class and level
atomic InfoData do
if IsInfoClass(selectors) then
InfoData.LastClass := selectors;
Expand Down
2 changes: 1 addition & 1 deletion hpcgap/src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void SyntaxWarning (
** This is used if the parser knows that the current symbol is correct, for
** example in 'RdReturn' the first symbol must be 'S_RETURN', otherwise
** 'RdReturn' would not have been called. Called this way 'Match' will of
** course never raise an syntax error, therefore <msg> and <skipto> are of
** course never raise a syntax error, therefore <msg> and <skipto> are of
** no concern, they are passed nevertheless to please lint. The effect of
** this call is merely to read the next symbol from input.
**
Expand Down
2 changes: 1 addition & 1 deletion lib/ctblsolv.gi
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ InstallMethod( BaumClausenInfo,
i, # current position in the iteration: $G_i$
p, # size of current composition factor
pexp, # exponent vector of `pcgs[i]^p'
root, # value of an xtension
root, # value of an extension
roots, # list of $p$-th roots (relative to `e')
mulmoma, # product of two monomial matrices
poweval, # representing matrix for power of generator
Expand Down
2 changes: 1 addition & 1 deletion lib/grp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ InstallOtherMethod( ElementaryAbelianSeries,

local i, A, f;

# if <G> is a list compute a elementary series through a given normal one
# if <G> is a list compute an elementary series through a given normal one
if not IsSolvableGroup( G[1] ) then
Error( "<G> must be solvable" );
fi;
Expand Down
4 changes: 2 additions & 2 deletions lib/info.gi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## InfoSelector, and classes and selectors may be built up with \+
#N I wanted to use \or, but this isn't at operation
##
## An message is associated with a selector and a level and is
## A message is associated with a selector and a level and is
## printed when the desired level for any of the classes in the selector
## equals or exceeds the level of the message
##
Expand Down Expand Up @@ -303,7 +303,7 @@ BIND_GLOBAL( "InfoDecision", function(selectors, level)
fi;
fi;

# store the class an level
# store the class and level
if IsInfoClass(selectors) then
InfoData.LastClass := selectors;
else
Expand Down
2 changes: 1 addition & 1 deletion lib/list.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ DeclareOperation( "MinimumList", [ IsList, IsObject ] );
## That means that the first element <A>tup1</A> of <A>cart</A> contains
## the first element from <A>list1</A>, from <A>list2</A> and so on.
## The second element <A>tup2</A> of <A>cart</A> contains the first element
## from <A>list1</A>, the first from <A>list2</A>, an so on,
## from <A>list1</A>, the first from <A>list2</A>, and so on,
## but the last element of <A>tup2</A> is the second element of the last
## argument list.
## This implies that <A>cart</A> is a proper set if and only if all argument
Expand Down
8 changes: 4 additions & 4 deletions lib/mapprep.gi
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ InstallMethod( ImagesElm,
#M ImagesSet( <map>, <elms> ) . . . . . . . . . . . for composition mapping
##
InstallMethod( ImagesSet,
"for a composition mapping, and an collection",
"for a composition mapping, and a collection",
CollFamSourceEqFamElms,
[ IsCompositionMappingRep, IsCollection ], 0,
function ( com, elms )
Expand Down Expand Up @@ -325,7 +325,7 @@ InstallMethod( PreImagesElm,
#M PreImagesSet( <map>, <elm> ) . . . . . . . . . . for composition mapping
##
InstallMethod( PreImagesSet,
"for a composition mapping, and an collection",
"for a composition mapping, and a collection",
CollFamRangeEqFamElms,
[ IsCompositionMappingRep, IsCollection ], 0,
function( com, elms )
Expand Down Expand Up @@ -1747,7 +1747,7 @@ InstallMethod( ImagesElm,
#M ImagesSet( <map>, <elms> ) . . . . . . . . . . . for restricted mapping
##
InstallMethod( ImagesSet,
"for a restricted mapping, and an collection",
"for a restricted mapping, and a collection",
CollFamSourceEqFamElms,
[ IsGeneralRestrictedMappingRep, IsCollection ], 0,
function ( res, elms )
Expand Down Expand Up @@ -1811,7 +1811,7 @@ end );
#M PreImagesSet( <map>, <elm> ) . . . . . . . . . . for restricted mapping
##
InstallMethod( PreImagesSet,
"for a restricted mapping, and an collection",
"for a restricted mapping, and a collection",
CollFamRangeEqFamElms,
[ IsGeneralRestrictedMappingRep, IsCollection ], 0,
function( res, elms )
Expand Down
2 changes: 1 addition & 1 deletion lib/matrix.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ InstallMethod( DeterminantMatDestructive,
for k in [1..m] do

# find a nonzero entry in this column
#N 26-Oct-91 martin if <mat> is an rational matrix look for a pivot
#N 26-Oct-91 martin if <mat> is a rational matrix look for a pivot
j := i + 1;
while j <= m and mat[j][k] = zero do j := j+1; od;

Expand Down
2 changes: 1 addition & 1 deletion lib/morpheus.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ end);

#############################################################################
##
#F MorFindGeneratingSystem(<G>,<cl>) . . find generating system with an few
#F MorFindGeneratingSystem(<G>,<cl>) . . find generating system with as few
## as possible generators from the first classes in <cl>
##
InstallGlobalFunction(MorFindGeneratingSystem,function(arg)
Expand Down
2 changes: 1 addition & 1 deletion lib/onecohom.gd
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ DeclareOperation("OCAddComplement",
## <Func Name="OCOneCocycles" Arg='ocr, onlySplit'/>
##
## <Description>
## is the more technical function to compute 1-cocycles. It takes an record
## is the more technical function to compute 1-cocycles. It takes a record
## <A>ocr</A> as first argument which must contain at least the components
## <C>group</C> for the group and <C>modulePcgs</C> for a (modulo) pcgs of
## the module. This record
Expand Down
2 changes: 1 addition & 1 deletion lib/pcgsind.gi
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ RedispatchOnCondition( CanonicalPcgs, true,
##
#M CanonicalPcgs( <cgs> )
##
InstallOtherMethod( CanonicalPcgs,"of an canonical pcgs",
InstallOtherMethod( CanonicalPcgs,"of a canonical pcgs",
true, [ IsCanonicalPcgs ],
SUM_FLAGS, # the best we can do
x -> x );
Expand Down
2 changes: 1 addition & 1 deletion lib/pquot.gi
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ end;

#############################################################################
##
#F RowEchelonFormLTM . . . . row echelon form of an lower triangular matrix
#F RowEchelonFormLTM . . . . row echelon form of a lower triangular matrix
##
RowEchelonFormLTM := function( LTM )
local i, j;
Expand Down
12 changes: 6 additions & 6 deletions lib/ringhom.gi
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ end );
##
#M ViewObj( <map> ) . . . . . . . . . . . . . . . . . for ring g.m.b.i.
##
InstallMethod( ViewObj, "for an ring g.m.b.i", true,
InstallMethod( ViewObj, "for a ring g.m.b.i", true,
[ IsGeneralMapping and IsRingGeneralMappingByImagesDefaultRep ], 0,
function( map )
local mapi;
Expand All @@ -111,7 +111,7 @@ end );
##
#M PrintObj( <map> ) . . . . . . . . . . . . . . . . . for ring g.m.b.i.
##
InstallMethod( PrintObj, "for an ring hom. b.i.", true,
InstallMethod( PrintObj, "for a ring hom. b.i.", true,
[ IsMapping
and IsRingGeneralMappingByImagesDefaultRep ], 0,
function( map )
Expand All @@ -122,7 +122,7 @@ local mapi;
mapi[1], ", ", mapi[2], " )" );
end );

InstallMethod( PrintObj, "for an ring g.m.b.i", true,
InstallMethod( PrintObj, "for a ring g.m.b.i", true,
[ IsGeneralMapping
and IsRingGeneralMappingByImagesDefaultRep ], 0,
function( map )
Expand Down Expand Up @@ -224,7 +224,7 @@ end);
#M ImagesSource( <map> ) . . . . . . . . . . . . . . . for ring g.m.b.i.
##
InstallMethod( ImagesSource,
"for an ring g.m.b.i.",
"for a ring g.m.b.i.",
[ IsRingGeneralMapping and IsRingGeneralMappingByImagesDefaultRep ],
function( map )
return Subring(Range(map),MappingGeneratorsImages(map)[2]);
Expand All @@ -235,7 +235,7 @@ end );
#M PreImagesRange( <map> ) . . . . . . . . . . . . . . for ring g.m.b.i.
##
InstallMethod( PreImagesRange,
"for an ring g.m.b.i.",
"for a ring g.m.b.i.",
[ IsGeneralMapping and IsRingGeneralMappingByImagesDefaultRep ],
function( map )
return Subring(Source(map),MappingGeneratorsImages(map)[1]);
Expand All @@ -246,7 +246,7 @@ end );
#M InverseGeneralMapping( <map> ) . . . . . . . . . . . . for ring g.m.b.i.
##
InstallMethod( InverseGeneralMapping,
"for an ring g.m.b.i.",
"for a ring g.m.b.i.",
[ IsGeneralMapping and IsRingGeneralMappingByImagesDefaultRep ],
function( map )
local mapi;
Expand Down
2 changes: 1 addition & 1 deletion lib/schur.gd
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ DeclareGlobalFunction("SchuMu");
##
## <Description>
## evaluate corestriction mapping.
## <A>FH</A> is an homomorphism from a finitely presented group onto a finite
## <A>FH</A> is a homomorphism from a finitely presented group onto a finite
## group <A>G</A>. <A>s</A> an epimorphism onto a p-Sylow subgroup of <A>G</A> as obtained
## from <C>SchuMu</C>.
## This function evaluates the relators of the source of <A>FH</A> in the
Expand Down
6 changes: 3 additions & 3 deletions lib/sgpres.gd
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ AbelianInvariantsSubgroupFpGroup := AbelianInvariantsSubgroupFpGroupRrs;
## <P/>
## It is mutable so we are permitted to add further entries. However
## existing entries may not be changed. Any entries added however should
## correspond to the subgroup only and not to an homomorphism.
## correspond to the subgroup only and not to a homomorphism.
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand All @@ -205,7 +205,7 @@ BindGlobal("TABLE_TYPE_MTC",2);
## <P/>
## It is mutable so we are permitted to add further entries, however
## existing entries may not be changed. Any entries added however should
## correspond to the subgroup only and not to an homomorphism.
## correspond to the subgroup only and not to a homomorphism.
## </Description>
## </ManSection>
##
Expand All @@ -226,7 +226,7 @@ DeclareAttribute("AugmentedCosetTableMtcInWholeGroup",IsGroup,"mutable");
## <P/>
## It is mutable so we are permitted to add further entries, however
## existing entries may not be changed. Any entries added however should
## correspond to the subgroup only and not to an homomorphism.
## correspond to the subgroup only and not to a homomorphism.
## </Description>
## </ManSection>
##
Expand Down
2 changes: 1 addition & 1 deletion lib/tom.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2072,7 +2072,7 @@ InstallMethod( DerivedSubgroupTom,
# for each such intersection the derived subgroup must be
# contained in one of the possible intersections returned by
# `IntersectionsTom'.
# Additionally there must be an chain of
# Additionally there must be a chain of
# normal extensions connecting the derived subgroup and the groupext;
result:=Filtered(subs[normalsubs[1]], x-> x in ext);
for i in [1..Length(normalsubs)] do
Expand Down
4 changes: 2 additions & 2 deletions src/dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
*F SET_DT_POS(tree, index, obj) . . . assign the position of(<tree>, index)
**
** 'SET_DT_POS sets pos(<a>) to the object <obj>, where <a> is the subtree
** of <tree>, rooted at (<tree>, index). <index> has to be an positive
** of <tree>, rooted at (<tree>, index). <index> has to be a positive
** integer less or equal to the number of nodes of <tree>
*/
#define SET_DT_POS(tree, index, obj) \
Expand All @@ -122,7 +122,7 @@
*F SET_DT_GEN(tree, index, obj) . . . assign the generator of(<tree>, index)
**
** 'SET_DT_GEN sets num(<a>) to the object <obj>, where <a> is the subtree
** of <tree>, rooted at (<tree>, index). <index> has to be an positive
** of <tree>, rooted at (<tree>, index). <index> has to be a positive
** integer less or equal to the number of nodes of <tree>
*/
#define SET_DT_GEN(tree, index, obj) \
Expand Down
2 changes: 1 addition & 1 deletion src/gmpints.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Obj TypeIntLargeNeg ( Obj val )
**
** 'IsInt( <val> )'
**
** 'IsInt' returns 'true' if the value <val> is an small integer or a
** 'IsInt' returns 'true' if the value <val> is a small integer or a
** large int, and 'false' otherwise.
*/
Obj FuncIS_INT ( Obj self, Obj val )
Expand Down
2 changes: 1 addition & 1 deletion src/intfuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ UInt4 nextrandMT_int32(UInt4* mt)
**
** 'HASHKEY_BAG( <obj>, <seed>, <offset>, <maxlen> )'
**
** takes an non-immediate object and a small integer <seed> and computes a
** takes a non-immediate object and a small integer <seed> and computes a
** hash value for the contents of the bag from these. (For this to be
** usable in algorithms, we need that objects of this kind are stored uniquely
** internally.
Expand Down
2 changes: 1 addition & 1 deletion src/lists.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern Obj TYPE_LIST_HOM;
**
** A package implementing an ordinary list type <type> must set the flag
** 'IsListFlag[<type>]' for this type to '1'. A package implementing a
** vector type must set it to '2'. A package implementing an matrix type
** vector type must set it to '2'. A package implementing a matrix type
** must set it to '3'.
*/
extern Int (*IsListFuncs [LAST_REAL_TNUM+1]) ( Obj obj );
Expand Down
2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void SyntaxWarning (
** This is used if the parser knows that the current symbol is correct, for
** example in 'RdReturn' the first symbol must be 'S_RETURN', otherwise
** 'RdReturn' would not have been called. Called this way 'Match' will of
** course never raise an syntax error, therefore <msg> and <skipto> are of
** course never raise a syntax error, therefore <msg> and <skipto> are of
** no concern, they are passed nevertheless to please lint. The effect of
** this call is merely to read the next symbol from input.
**
Expand Down
2 changes: 1 addition & 1 deletion src/scanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ extern void SyntaxWarning (
** This is used if the parser knows that the current symbol is correct, for
** example in 'RdReturn' the first symbol must be 'S_RETURN', otherwise
** 'RdReturn' would not have been called. Called this way 'Match' will of
** course never raise an syntax error, therefore <msg> and <skipto> are of
** course never raise a syntax error, therefore <msg> and <skipto> are of
** no concern, they are passed nevertheless to please lint. The effect of
** this call is merely to read the next symbol from input.
**
Expand Down
2 changes: 1 addition & 1 deletion src/vecffe.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

/****************************************************************************
**
*F SumFFEVecFFE(<elmL>,<vecR>) . . . . sum of an fin field elm and a vector
*F SumFFEVecFFE(<elmL>,<vecR>) . . . . sum of a finite field elm and a vector
**
** 'SumFFEVecFFE' returns the sum of the fin field elm <elmL> and the vector
** <vecR>. The sum is a list, where each element is the sum of <elmL> and
Expand Down

0 comments on commit bd386e9

Please sign in to comment.