-
Notifications
You must be signed in to change notification settings - Fork 5
Clarify LocalNR manual entries #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,9 +79,9 @@ | |
| ################################### | ||
|
|
||
| #! @Description | ||
| #! The argument is $n$. | ||
| #! The output a list of <C>IdGroup</C> of the additive groups | ||
| #! of local nearrings from <C>Library</C> of order $n$. | ||
| #! The argument is $n$. | ||
| #! The output is a list of additive groups of local nearrings in the | ||
| #! library of this package of order $n$. | ||
| #! @Returns a list | ||
| #! @Arguments n | ||
| #! @Label | ||
|
|
@@ -96,9 +96,9 @@ DeclareGlobalFunction( "AdditiveGroupsOfLibraryOfLNRsOfOrder"); | |
| ################################### | ||
|
|
||
| #! @Description | ||
| #! The argument is a group $G$. | ||
| #! The output a list of the catalogues of local nearrings | ||
| #! from <C>Library</C> on $G$. | ||
| #! The argument is a group $G$. | ||
| #! The output is a list of catalogue entries for the local nearrings in | ||
| #! the library of this package whose additive group is isomorphic to $G$. | ||
| #! @Returns a list | ||
| #! @Arguments G | ||
| #! @Label | ||
|
|
@@ -122,9 +122,10 @@ DeclareGlobalFunction( "LibraryOfLNRsOnGroup"); | |
|
|
||
| #! @Description | ||
| #! The arguments are $k$, $l$, $m$, $n$, $w$. | ||
| #! The output is local nearring from <C>Library</C> without | ||
| #! check. The arguments $k$, $l$, $m$, $n$ are from IdGroup of the additive group and the multiplicative group, | ||
| #! respectively, $w$ is the position in the list. | ||
| #! The output is the $w$-th local nearring from the library of this | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A minor nitpick, I'd not usually use
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That kind of change is out of scope for this PR. The package authors called this |
||
| #! package whose additive group has <C>IdGroup</C> value <C>[k,l]</C> | ||
| #! and whose multiplicative group has <C>IdGroup</C> value <C>[m,n]</C>. | ||
| #! No validation of the arguments is performed. | ||
| #! @Returns a nearring | ||
| #! @Arguments k,l,m,n,w | ||
| #! @Label | ||
|
|
@@ -140,8 +141,10 @@ DeclareOperation( "LocalNearRing", [ IsInt, IsInt, IsInt, IsInt, IsInt ]); | |
|
|
||
| #! @Description | ||
| #! The arguments are $k$, $l$, $m$, $n$. | ||
| #! The output are all local nearrings from <C>Library</C> without | ||
| #! check. The arguments $k$, $l$, $m$, $n$ are as above. | ||
| #! The output is the list of all local nearrings from the library of this | ||
| #! package whose additive group has <C>IdGroup</C> value <C>[k,l]</C> | ||
| #! and whose multiplicative group has <C>IdGroup</C> value <C>[m,n]</C>. | ||
| #! No validation of the arguments is performed. | ||
| #! @Returns a list | ||
| #! @Arguments k,l,m,n | ||
| #! @Label | ||
|
|
@@ -157,8 +160,10 @@ DeclareOperation( "AllLocalNearRings", [ IsInt, IsInt, IsInt, IsInt ]); | |
|
|
||
| #! @Description | ||
| #! The arguments are $k$, $l$, $m$, $n$. | ||
| #! The output are number of all local nearrings from <C>Library</C> without | ||
| #! check. The arguments $k$, $l$, $m$, $n$ are as above. | ||
| #! The output is the number of local nearrings in the library of this | ||
| #! package whose additive group has <C>IdGroup</C> value <C>[k,l]</C> | ||
| #! and whose multiplicative group has <C>IdGroup</C> value <C>[m,n]</C>. | ||
| #! No validation of the arguments is performed. | ||
| #! @Returns a number | ||
| #! @Arguments k,l,m,n | ||
| #! @Label | ||
|
|
@@ -174,10 +179,10 @@ DeclareSynonym("NrLocalNearRings", NumberLocalNearRings); | |
| ################################### | ||
|
|
||
| #! @Description | ||
| #! The argument is a group $G$. | ||
| #! The output is <C>true</C> if in <C>Library</C> there exists a local nearring | ||
| #! whose additive group is isomorphic to $G$ | ||
| #! otherwise the output is <C>false</C>. | ||
| #! The argument is a group $G$. | ||
| #! The output is <C>true</C> if the library of this package contains a | ||
| #! local nearring whose additive group is isomorphic to $G$, and | ||
| #! <C>false</C> otherwise. | ||
| #! @Returns a boolean | ||
| #! @Arguments G | ||
| #! @Label | ||
|
|
@@ -195,9 +200,9 @@ DeclareGlobalFunction( "IsAdditiveGroupOfLibraryOfLNRs"); | |
| ################################### | ||
|
|
||
| #! @Description | ||
| #! The argument is a group $G$. | ||
| #! The output some information about local nearrings | ||
| #! from <C>Library</C> on $G$. | ||
| #! The argument is a group $G$. | ||
| #! The output is summary information about the local nearrings in the | ||
| #! library of this package whose additive group is isomorphic to $G$. | ||
| #! @Returns information | ||
| #! @Arguments G | ||
| #! @Label | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,8 +30,8 @@ | |
| #! @Label | ||
| DeclareProperty( "IsMinimalNonAbelianGroup", IsGroup ); | ||
|
|
||
| #! Recall that each finite non-abelian group whose proper subgroups are | ||
| #! abelian is called a <Emph>Miller-Moreno group</Emph> or in other terminology | ||
| #! Recall that each finite non-abelian group whose proper subgroups are | ||
| #! abelian is called a <Emph>Miller-Moreno group</Emph> or, in other terminology, | ||
| #! a <Emph>minimal non-abelian group</Emph>. | ||
|
|
||
| #! @BeginExample | ||
|
|
@@ -73,7 +73,9 @@ DeclareProperty( "IsMetacyclicPGroup", IsPGroup ); | |
|
|
||
| #! @Description | ||
| #! The argument is a group $G$. | ||
| #! The output is | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was incomplete as pointed out in issue #39
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Look good - even if this function may disappear later.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @raemarina @IrynaRaievska I know that you intended to eliminate this function, but with Max's fix the documentation is complete. You can keep it, and then optimise the other function ( |
||
| #! The output is a list of pairs <C>[x,H]</C>, where <C>x</C> is a | ||
| #! representative of an endo-orbit of $G$ and <C>H</C> is the set of all | ||
| #! images of <C>x</C> under endomorphisms of $G$. | ||
| #! @Returns EndoOrbitsOfGroup | ||
| #! @Arguments G | ||
| #! @Label | ||
|
|
@@ -93,19 +95,19 @@ DeclareOperation( "EndoOrbitsOfGroup", [ IsGroup ] ); | |
|
|
||
| #! @Description | ||
| #! The argument is a group $G$. | ||
| #! The output is <C>true</C> if $G$ is a endocyclic group, | ||
| #! The output is <C>true</C> if $G$ is an endocyclic group, | ||
| #! otherwise the output is <C>false</C>. | ||
| #! @Returns a boolean | ||
| #! @Arguments G | ||
| #! @Label | ||
| DeclareProperty( "IsEndoCyclicGroup", IsGroup ); | ||
|
|
||
| #!Let $G$ be a group and $End G$ be the set of all its endomorphisms, | ||
| #!which can be considered as a semigroup with respect to the composition operation of endomorphisms. | ||
| #!For each $g\in G$ we denote by $g^{End G}$ the set $\{g^\alpha| \alpha\in End G\}$ | ||
| #! Let $G$ be a group and $End G$ be the set of all its endomorphisms, | ||
| #! which can be considered as a semigroup with respect to composition. | ||
| #! For each $g\in G$ we denote by $g^{End G}$ the set $\{g^\alpha| \alpha\in End G\}$ | ||
| #!of all images of the element $g$ with respect to endomorphisms of $End G$. | ||
|
|
||
| #!A group $G$ is called <Emph>endocyclic</Emph> if it contains an element $g$ with $G=g^{End G}$. | ||
| #! A group $G$ is called <Emph>endocyclic</Emph> if it contains an element $g$ with $G=g^{End G}$. | ||
|
|
||
| #! @BeginExample | ||
| #! gap> IsEndoCyclicGroup(D); | ||
|
|
@@ -347,16 +349,17 @@ DeclareProperty( "IsOneGeneratedNearRing", IsNearRing ); | |
|
|
||
| #! @Description | ||
| #! The arguments are a nearring $R$ with identity and a set of units $Un$ of $R$. | ||
| #! The output are the automorphisms associated with nearring units. | ||
| #! @Returns automorphisms | ||
| #! The output is the list of automorphisms of the additive group of $R$ | ||
| #! associated with the units in $Un$. | ||
| #! @Returns a list of automorphisms | ||
| #! @Arguments R,Un | ||
| #! @Label | ||
| DeclareOperation( "AutomorphismsAssociatedWithNearRingUnits", [ IsNearRing, IsNearRingElementCollection ] ); | ||
|
|
||
| #! A subgroup $A$ of the automorphism group $Aut R^+$ of the additive group of | ||
| #! the nearring $R$ with identity isomorphic to the multiplicative group $R^*$ | ||
| #! and satisfies the condition $$i^A=\{i^a\mid a\in A\}=R^*$$ is called | ||
| #! the subgroup of $Aut R^+$ associated with the group $R^*$. | ||
| #! the nearring $R$ with identity isomorphic to the multiplicative group $R^*$ | ||
| #! and satisfying the condition $$i^A=\{i^a\mid a\in A\}=R^*$$ is called | ||
| #! the subgroup of $Aut R^+$ associated with $R^*$. | ||
|
|
||
|
|
||
| #! @BeginExample | ||
|
|
@@ -377,7 +380,7 @@ DeclareOperation( "AutomorphismsAssociatedWithNearRingUnits", [ IsNearRing, IsNe | |
| #! @Description | ||
| #! The arguments are a nearring $R$ and a set $Elm$ of nearring elements. | ||
| #! The output is the endomorphisms associated with nearring elements. | ||
| #! @Returns endomorphisms | ||
| #! @Returns a list of endomorphisms | ||
| #! @Arguments R, Elm | ||
| #! @Label | ||
| DeclareOperation( "EndomorphismsAssociatedWithNearRingElements", [ IsNearRing, IsNearRingElementCollection ] ); | ||
|
|
@@ -394,7 +397,7 @@ DeclareOperation( "EndomorphismsAssociatedWithNearRingElements", [ IsNearRing, I | |
|
|
||
| #! @Description | ||
| #! The argument is a nearring $R$ with identity. | ||
| #! The output is the semidirect product associated with nearring $R$. | ||
| #! The output is the semidirect product associated with the nearring $R$. | ||
| #! @Returns a semidirect product | ||
| #! @Arguments R | ||
| #! @Label | ||
|
|
@@ -413,8 +416,8 @@ DeclareOperation( "SemidirectProductAssociatedWithNearRing", [ IsNearRing ]); | |
|
|
||
| #! @Description | ||
| #! The arguments are a nearring $R$ with identity and | ||
| #! a subgroup $H$ of additive group of $R$. | ||
| #! The output is <C>true</C> if $H$ is a constructive subgroup of nearring $R$, | ||
| #! a subgroup $H$ of the additive group of $R$. | ||
| #! The output is <C>true</C> if $H$ is a circle subgroup of the nearring $R$, | ||
| #! otherwise the output is <C>false</C>. | ||
| #! @Returns a boolean | ||
| #! @Arguments R,H | ||
|
|
@@ -433,8 +436,9 @@ DeclareOperation( "IsCircleSubgroupOfNearRing", [IsNearRing, IsGroup ]); | |
|
|
||
| #! @Description | ||
| #! The arguments are a nearring $R$ with identity and | ||
| #! a constructive subgroup $H$ of $R$. | ||
| #! The output is the group | ||
| #! a circle subgroup $H$ of $R$. | ||
| #! The output is the semidirect product associated with $H$ and the | ||
| #! automorphisms determined by the corresponding units. | ||
| #! @Returns a group | ||
| #! @Arguments R,H | ||
| #! @Label | ||
|
|
@@ -451,7 +455,7 @@ DeclareOperation( "FactorizedGroupAssociatedWithCircleSubgroupOfNearRing", [ IsN | |
|
|
||
| #! @Description | ||
| #! The argument is a nearring $R$. | ||
| #! The output is the constant part of nearring $R$. | ||
| #! The output is the constant part of the nearring $R$. | ||
| #! @Returns a constant part | ||
| #! @Arguments R | ||
| #! @Label | ||
|
|
@@ -470,7 +474,7 @@ DeclareAttribute("ConstantPartOfNearRing", IsNearRing ); | |
|
|
||
| #! @Description | ||
| #! The argument is a nearring $R$. | ||
| #! The output is the zero-symmetric part of nearring $R$. | ||
| #! The output is the zero-symmetric part of the nearring $R$. | ||
| #! @Returns a zero-symmetric part | ||
| #! @Arguments R | ||
| #! @Label | ||
|
|
@@ -486,8 +490,9 @@ DeclareAttribute("ZeroSymmetricPartOfNearRing", IsNearRing ); | |
|
|
||
| #! @Description | ||
| #! The argument is a nearring $R$. | ||
| #! The output is the group of units as group of automorphisms $R$. | ||
| #! @Returns a group of units | ||
| #! The output is a group of automorphisms of the additive group of $R$ | ||
| #! that is isomorphic to the group of units of $R$. | ||
| #! @Returns a group | ||
| #! @Arguments R | ||
| #! @Label | ||
| DeclareAttribute("GroupOfUnitsAsGroupOfAutomorphisms", IsNearRing ); | ||
|
|
@@ -505,7 +510,7 @@ DeclareAttribute("GroupOfUnitsAsGroupOfAutomorphisms", IsNearRing ); | |
| ################################### | ||
| #! @Description | ||
| #! The argument is a nearring $R$ and an element $r$. | ||
| #! The output is <C>true</C> if $r$ is a distributive element of nearring $R$, | ||
| #! The output is <C>true</C> if $r$ is a distributive element of the nearring $R$, | ||
| #! otherwise the output is <C>false</C>. | ||
| #! @Returns a boolean | ||
| #! @Arguments R, r | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fingolfin but the output is a list of group IDs, not of groups themselves
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the output is a list of groups, as the new text says, not a list of group ids. Look at the example a bit below, which takes the output of this function, then applies
IdGroupto it, to obtain a list of ids.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fingolfin oops, you're certainly right :)