RepLAB has FiniteSet
as a base for all sets of elements coming originally from a finite group. Note that a FiniteGroup
itself is also a FiniteSet
.
FiniteSet
: Base class for all subsets of a finite group.
Such subsets have a decomposition which speeds up many algorithms in RepLAB.
SetProduct
: Decomposition of a FiniteSet
as a cartesian product of sets.
A finite group is partitioned into conjugacy classes.
ConjugacyClasses
: Set of all conjugacy classes of a finite group.
ConjugacyClass
: Conjugacy class of a finite group.
A finite group can also be partitioned into cosets by one (or two!) of its subgroups.
Cosets
: Base class for sets of cosets of a finite group.
Coset
: Base class for all cosets.
CosetTable
: Describes the left action of a group on its cosets by a subgroup.
LeftCosets
, RightCosets
, NormalCosets
: Sets of left/right/normal cosets, obtained using a subgroup of a finite group
LeftCoset
, RightCoset
, NormalCoset
: Describes an element of the above
DoubleCosets
: Sets of double cosets, obtained using two subgroups of a finite group
DoubleCoset
: Describes an element of the above
Bases: replab.Domain
Describes a subset of a finite group
Examples of finite subsets include:
left cosets (LeftCoset
),
right cosets (RightCoset
),
normal cosets (NormalCoset
),
double cosets (DoubleCoset
),
conjugacy classes (ConjugacyClass
),
finite groups (FiniteGroup
).
If the finite set is not empty (nElements
is nonzero), the set has a distinguished representative
element.
For permutation groups, this representative element is the minimal element under lexicographic ordering.
Class members list
Properties
type
– Type of the contained elements
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
No documentation
Documentation in replab.Obj.ne()
Documentation in replab.Domain.sample()
Documentation in replab.Str.shortStr()
No documentation
Minimal member of this set under the type
ordering. If the set is empty, value is undefined.
element of type
Type of the contained elements
Tests whether this set contains the given element
The element must be part of type
, as in the example below: only permutations with the same domain size
should be tested using contains
.
Example
>>> G = replab.PermutationGroup.of([2 3 4 1]);
>>> G.contains([4 3 2 1])
0
el (element of type
) – Element to test for membership
True if this set contains el
and false otherwise
logical
Returns a cell array containing all the elements of this set
The sequence is sorted according to the total ordering defined by type
.
Note: if the number of elements is bigger than replab.globals.maxElements
, an error is thrown.
Elements
cell(1,*) of finite set elements
Returns a sequence corresponding to this set
The sequence is sorted according to the total ordering defined by type
.
An enumeration of the set elements
Returns if this finite set has the same type as the given finite set
In particular, it means that the contains
method of one set can be called with elements of the other set.
rhs (replab.FiniteSet
) – Other finite set
True if the groups have compatible types
logical
Returns the image of this finite set under an isomorphism
f (FiniteIsomorphism
) – Isomorphism such that this finite set is contained in f.source
This finite set mapped under f
, expressed as a subset of f.image
Tests finite sets for equality
Alternative syntax to eq
Example
>>> G = replab.PermutationGroup.of([2 3 1], [2 1 3]);
>>> H = replab.PermutationGroup.of([2 1 3], [1 3 2]);
>>> isequal(G, H)
1
Returns the size of this set
Set cardinality
vpi
Returns the minimal element of this set under the type ordering
Canonical representative of this set
element
Returns a description of this set as a product of sets
Generic description of the elements of this set
Bases: replab.Domain
Describes a multiset of elements obtained by reduction of the elements of a cartesian product
Let T1, ..., Tn
be finite subsets of a monoid G
. The set product of such T
is the multiset
of elements of the form x = t1 t2 ... tn
iterating over each ti
in each Ti
. The binary operation
is given by the composition of G
.
Thus, the multiset has |T1| * |T2| * ... * |Tn|
elements, possibly with repetition.
RepLAB uses SetProduct
in two areas:
to describe a unique decomposition of a finite group, in which case the multiset is actually a set whose
cardinality is the group order; we additionally require that the first element of each T{i}
is the
identity;
to describe the left cosets of the connected component in a compact Lie group.
Class members list
Properties
identityFirst
– True if each element T
contains the identity as its first element
monoid
– Monoid providing the binary operation
sets
– Stores the sets Ti as {T1 T2 ... Tn}
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
General
Inherited elements
No documentation
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
Documentation in replab.Obj.ne()
Documentation in replab.Domain.sample()
Documentation in replab.Str.shortStr()
Monoid providing the binary operation
Stores the sets Ti as {T1 T2 ... Tn}
cell(1,*) of cell(1,*) of elements
Constructs a SetProduct containing only the identity of a monoid
monoid (Monoid
) – Monoid to take the identity from
A singleton SetProduct
Maps this multiset under an isomorphism
isomorphism (Isomorphism
) – Isomorphism with its containing all elements of this SetProduct
Multiset with elements in isomorphism.target
Bases: replab.Obj
Stores information about the conjugacy classes of a group
This class can compute power maps.
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
General
Properties
centralizerSizes
– Returns the sizes of the centralizers
classElementOrders
– Returns the element order for each of the conjugacy classes
classRepresentatives
– Returns the canonical representatives of the conjugacy classes
classSizes
– Returns the sizes of the conjugacy classes
nClasses
– Returns the number of conjugacy classes in the group
Find conjugacy classes
classIndexOf
– Finds the conjugacy class where a given element is located
indicesOfClasses
– Returns the indices of the given conjugacy classes in this list
Transformations
Subgroup construction
normalSubgroupClasses
– Returns the normal subgroup consisting of the conjugacy classes whose positions are given
Power maps
powerMap
– Returns the power map corresponding to the given exponent
powerMapDefaultPrimes
– Returns the list of primes that are necessary to reconstruct any power map
powerMapMatrix
– Returns an adjacency-like matrix that describes (incomplete) relationships between conjugacy classes
powerMaps
– Returns or computes&stores the power map corresponding to the given exponent
Inherited elements
No documentation
Documentation in replab.Str.additionalFields()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
Documentation in replab.Obj.ne()
Documentation in replab.Str.shortStr()
No documentation
Conjugacy classes
cell(1,nC) of ConjugacyClass
Group whose conjugacy classes we describe
Power maps (computed as needed)
integer(nP,nC)
List of primes that divide the group order (computed as needed)
integer(1,nP)
Returns the sizes of the centralizers
Size of the centralizer for each conjugacy class
cell(1,*) of vpi
Returns the element order for each of the conjugacy classes
Elements orders
integer(1,*)
Finds the conjugacy class where a given element is located
g (element of group
) – Group element
isCanonical – Whether the given g
is the class canonical representative, default: false
logical, optional
Index of the class containing g
integer
Returns the canonical representatives of the conjugacy classes
Representatives
cell(1,*) of ConjugacyClass
Returns the sizes of the conjugacy classes
Size of each conjugacy class
cell(1,*) of vpi
Maps the conjugacy classes under an isomorphism
f (FiniteIsomorphism
) – Isomorphism with self.group.isSubgroupOf(f.source)
The conjugacy classes mapped under f
, expressed as a subset of f.image
Returns the indices of the given conjugacy classes in this list
classes (ConjugacyClasses
) – Conjugacy classes of group
Indices of the given classes in these classes
integer(1,*)
Returns the number of conjugacy classes in the group
Number of classes
integer
Returns the normal subgroup consisting of the conjugacy classes whose positions are given
indices (integer(1,*)
) – Indices of conjugacy classes
Normal subgroup representing that union
Returns the power map corresponding to the given exponent
We have m(i) = self.classIndexOf(self.group.composeN(self.classes{i}.representative, n))
.
p (integer
) – Exponent
Index of the power of each conjugacy class
integer(1,*)
Returns the list of primes that are necessary to reconstruct any power map
Prime numbers that are less or equal to the largest class element order
integer(1,*)
Returns an adjacency-like matrix that describes (incomplete) relationships between conjugacy classes
Returns or computes&stores the power map corresponding to the given exponent
exponents (integer(1,*)
) – Exponents
Index of the power of each conjugacy class
integer(length(exponents),*)
Bases: replab.FiniteSet
Describes a conjugacy class of a finite group
A conjugacy class containing the representative \(r \in G\) is the set \(\{g r g^{-1} : g \in G \}\).
The centralizer of \(r\) in \(G\) is the subgroup \(C_{G}(r) = \{ g r g^{-1} == r : g \in G \}\).
Thus, the left cosets \(G/C_{G}(r) = \{ g C_{G}(r) : g \in G \}\) are in one to one correspondence with the elements of the conjugacy class.
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Maps this conjugacy class under an isomorphism
General
elementOrder
– Returns the order of the elements in this conjugacy class
knownRepresentativeCentralizer
– Returns whether the centralizer of representative
is known
mtimes
–
representativeCentralizer
– Returns the centralizer of representative
in group
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.FiniteSet.type
Group containing this conjugacy class
Returns the order of the elements in this conjugacy class
Element order
integer
Maps this conjugacy class under an isomorphism
f (FiniteIsomorphism
) – Isomorphism with self.group.isSubgroupOf(f.source)
The conjugacy class mapped under f
, expressed as a subset of f.image
Returns whether the centralizer of representative
is known
True if the centralizer has already been computed
logical
Returns the centralizer of representative
in group
Representative centralizer
Bases: replab.Obj
Base class for the left/normal/right coset classes
This class is necessary because NormalCosets
inherits from both LeftCosets
or RightCosets
,
and thus they share the group
and subgroup
properties.
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
General
nElements
– Returns the number of cosets
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
Documentation in replab.Obj.ne()
Documentation in replab.Str.shortStr()
Group
Returns the number of cosets
Number of cosets
integer
Bases: replab.FiniteSet
Base class for the left/normal/right coset classes
This class is necessary because NormalCoset
inherits from both LeftCoset
or RightCoset
,
and thus they share the group
and subgroup
properties.
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
mtimes
–
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.FiniteSet.imap()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.FiniteSet.type
Group containing this coset
Bases: replab.Str
Describes a coset table (experimental)
Example
>>> ct = replab.CosetTable.fromPresentation({'x' 'y'}, {'x^2','y^3','(x*y)^3'}, {'x*y'});
>>> ct.table.format
| x y inv(x) inv(y)
--------------------------
1 | 2 2 2 3
2 | 1 3 1 1
3 | 4 1 4 2
4 | 3 4 3 4
Note
The action of words on cosets is a left action, contrary to the algorithms described in Holt. Thus, we implement the algorithms of Holt in a different class, which matches the pseudocode closely. This class, however, translates between those conventions.
Class members list
Properties
generatorNames
– Names of the generators
internal
– Internal coset table
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
General
fromPresentation
– Enumerate cosets
table
– Returns the coset table as a prettyprintable table
Inherited elements
No documentation
Documentation in replab.Str.additionalFields()
Documentation in replab.Str.disp()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Str.longStr()
Documentation in replab.Str.shortStr()
Names of the generators
cell(1,*) of charstring
Internal coset table
replab.fp.CosetTable
Enumerate cosets
generatorNames (cell(1,*) of charstring
) – Group generator names
relatorWords (cell(1,*) of charstring
) – Group relators to parse
subgroupGeneratorWords (cell(1, *) of charstring
) – Generators for a subgroup, expressed as words in the group generators
Returns the coset table as a prettyprintable table
String table
replab.str.Table
Bases: replab.Cosets
Describes the set of left cosets of a finite group
Let \(H\) be a subgroup of a group \(G\). Then the left cosets are the sets \(g H = \{ g h : h \in H \}\). The set of such left cosets is often written \(G / H = \{ g H : g \in G \}\).
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
General
cosetRepresentative
– Returns the canonical coset representative corresponding to the given element
elements
– Returns the set of left cosets as a cell array
leftAction
– Returns, as a morphism, the action of the given group of its left cosets
nElements
– Returns the number of cosets
transversal
– Returns all the canonical representatives of cosets
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Cosets.group
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
Documentation in replab.Cosets.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.Str.shortStr()
Documentation in replab.Cosets.subgroup
Returns the canonical coset representative corresponding to the given element
If t = cosetRepresentative(g)
, then \(t^{-1} g = h \in H\), with decomposition \(g = t h\).
Moreover L.cosetRepresentative(g) == L.cosetRepresentative(compose(g, h))
for any \(h \in H\).
Finally, L.cosetRepresentative(g) == L.coset(g).representative
.
Returns the set of left cosets as a cell array
Set of left cosets
cell(1,*) of replab.LeftCoset
Returns, as a morphism, the action of the given group of its left cosets
Morphism of this group into a permutation group
Bases: replab.Cosets
Describes the set of right cosets of a nice finite group
Let \(H\) be a subgroup of a group \(G\). Then the right cosets are the sets \(H g = \{ h g : h \in H \}\). The set of such right cosets is often written \(H \\ G = \{ H g : g \in G \}\).
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
General
cosetRepresentative
– Returns the coset representative corresponding to the given element
elements
– Returns the set of right cosets as a cell array
mrdivide
–
nElements
– Returns the number of cosets
transversal
– Returns all the canonical representatives of cosets
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Cosets.group
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
No documentation
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.Cosets.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.Str.shortStr()
Documentation in replab.Cosets.subgroup
Returns the coset representative corresponding to the given element
If t = cosetRepresentative(g)
, then \(g t^{-1} = h \in H\), with the decomposition \(g = h t\).
Moreover R.cosetRepresentative(g) == R.cosetRepresentative(compose(h, g))
for any \(h \in H\).
Finally, R.cosetRepresentative(g) == R.coset(g).representative
.
Returns the set of right cosets as a cell array
Set of right cosets
cell(1,*) of replab.RightCoset
Bases: replab.LeftCosets
, replab.RightCosets
Describes the set of normal cosets of a finite group
Let \(H\) be a normal subgroup of a group \(G\). Then the left cosets are the sets \(g H = \{ g h : h \in H \}\). Then the right cosets are the sets \(H g = \{ h g : h \in H \}\). Because the subgroup is normal, we have \(g H = H g\).
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
General
cosetRepresentative
– Returns the canonical coset representative corresponding to the given element
elements
– Returns the set of normal cosets as a cell array
leftAction
– Returns, as a morphism, the action of the given group of its left cosets
mrdivide
–
nElements
– Returns the number of cosets
transversal
– Returns all the canonical representatives of cosets
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.LeftCosets.cosetRepresentative()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Cosets.group
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.LeftCosets.leftAction()
No documentation
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.Cosets.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.Str.shortStr()
Documentation in replab.Cosets.subgroup
Documentation in replab.LeftCosets.transversal()
Returns the set of normal cosets as a cell array
Set of normal cosets
cell(1,*) of replab.NormalCoset
Bases: replab.Coset
Describes a left coset of a finite group
Let \(g \in G\) be a coset representative and \(H \le G\) a group. The left coset is \(g H = \{ g h : h \in H\}\).
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
mtimes
–
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Coset.group
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.FiniteSet.imap()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.Coset.subgroup
Documentation in replab.FiniteSet.type
Bases: replab.Coset
Describes a right coset of a finite group
Let \(g \in G\) be a coset representative and \(H \le G\) a group. The right coset is \(H g = \{ h g : h \in H\}\).
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
mtimes
–
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Coset.group
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.FiniteSet.imap()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.Coset.subgroup
Documentation in replab.FiniteSet.type
Bases: replab.LeftCoset
, replab.RightCoset
Describes a coset in the normal subgroup of a finite group
It is a left and right coset at the same time.
See parent classes LeftCoset
and RightCoset
Class members list
Properties
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
mtimes
–
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Coset.group
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.FiniteSet.imap()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.Coset.subgroup
Documentation in replab.FiniteSet.type
Bases: replab.Domain
Describes the set of double cosets in a group
A double coset is a set of the form { H g K } = { h g k : h \in H, k \in K}
for subgroups
H
and K
of a group G
Class members list
Properties
group
– Group
leftSubgroup
– Subgroup of group
rightSubgroup
– Subgroup of group
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Equality test
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
General
cosetRepresentative
– Returns the canonical coset representative corresponding to the given element
elements
– Returns the set of double cosets as a cell array
nElements
– Returns the number of double cosets
transversal
– Returns all the canonical representatives of cosets
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.Str.disp()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.Obj.inCache()
Documentation in replab.Obj.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
Documentation in replab.Obj.ne()
Documentation in replab.Domain.sample()
Documentation in replab.Str.shortStr()
Group
Returns the canonical coset representative corresponding to the given element
Returns the set of double cosets as a cell array
Set of double cosets
cell(1,*) of replab.DoubleCoset
Returns the number of double cosets
Number of double cosets
integer
Bases: replab.FiniteSet
Describes a double coset in a group
A double coset is a set of the form { H g K } = { h g k : h \in H, k \in K}
for subgroups
H
and K
of a group G
Class members list
Properties
group
– Group containing this double coset
leftSubgroup
– Group
rightSubgroup
– Group
type
– Type of the contained elements
Prettyprinting
additionalFields
– Returns the name/value pairs corresponding to additional fields to be printed
disp
– Standard MATLAB/Octave display method
headerStr
– Tiny single line description of the current object type
hiddenFields
– Returns the names of the fields that are not printed as a row vector
longStr
– Multi-line description of the current object
shortStr
– Single line text description of the current object
Property cache
cache
– Sets the value of the designated property in the cache
cached
– Returns the cached property if it exists, computing it if necessary
cachedOrDefault
– Returns the cached property if it exists, or the provided default value if it is unknown yet
cachedOrEmpty
– Returns the cached property if it exists, or []
if it is unknown yet
inCache
– Returns whether the value of the given property has already been computed
Laws
check
– Checks the consistency of this object
checkAndContinue
– Checks the consistency of this object
laws
– Returns the laws that this object obeys
Unique ID
eq
– Equality test
id
– Returns the unique ID of this object (deprecated)
isequal
– Tests finite sets for equality
ne
– Non-equality test
Test helpers
assertEqv
– Compares two elements for equality
assertNotEqv
– Compares two elements for inequality
Sampling and equality test
Elements
contains
– Tests whether this set contains the given element
elements
– Returns a cell array containing all the elements of this set
elementsSequence
– Returns a sequence corresponding to this set
nElements
– Returns the size of this set
representative
– Returns the minimal element of this set under the type ordering
setProduct
– Returns a description of this set as a product of sets
Relations to other sets
hasSameTypeAs
– Returns if this finite set has the same type as the given finite set
Image under isomorphism
imap
– Returns the image of this finite set under an isomorphism
General
mtimes
–
Inherited elements
Documentation in replab.Str.additionalFields()
Documentation in replab.Domain.assertEqv()
Documentation in replab.Domain.assertNotEqv()
Documentation in replab.Obj.cache()
Documentation in replab.Obj.cached()
Documentation in replab.Obj.cachedOrDefault()
Documentation in replab.Obj.cachedOrEmpty()
Documentation in replab.Obj.check()
Documentation in replab.Obj.checkAndContinue()
Documentation in replab.FiniteSet.contains()
Documentation in replab.Str.disp()
Documentation in replab.FiniteSet.elements()
Documentation in replab.FiniteSet.elementsSequence()
Documentation in replab.Obj.eq()
Documentation in replab.Domain.eqv()
Documentation in replab.FiniteSet.hasSameTypeAs()
Documentation in replab.Str.headerStr()
Documentation in replab.Str.hiddenFields()
Documentation in replab.Obj.id()
Documentation in replab.FiniteSet.imap()
Documentation in replab.Obj.inCache()
Documentation in replab.FiniteSet.isequal()
Documentation in replab.Obj.laws()
Documentation in replab.Str.longStr()
No documentation
Documentation in replab.FiniteSet.nElements()
Documentation in replab.Obj.ne()
Documentation in replab.FiniteSet.representative()
Documentation in replab.Domain.sample()
Documentation in replab.FiniteSet.setProduct()
Documentation in replab.Str.shortStr()
Documentation in replab.FiniteSet.type
Group containing this double coset
Group
Group