diff options
author | Ulli Kehrle <ulli.kehrle@rwth-aachen.de> | 2018-11-08 15:46:12 +0100 |
---|---|---|
committer | Ulli Kehrle <ulli.kehrle@rwth-aachen.de> | 2018-11-08 15:46:12 +0100 |
commit | e05c7d65b1d19cf083756e7e7fe87daddfc45bf0 (patch) | |
tree | 21447d837494bfe1b7123122ffdd9be41cd73323 | |
parent | 758e91dbeed3acd594b007c2cc618fe220cf3a99 (diff) | |
download | subgroup-ladders-master.tar.gz subgroup-ladders-master.tar.xz |
-rw-r--r-- | gap/subgroupladders.gi | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/gap/subgroupladders.gi b/gap/subgroupladders.gi index 7c373d5..794492d 100644 --- a/gap/subgroupladders.gi +++ b/gap/subgroupladders.gi @@ -12,15 +12,15 @@ InstallGlobalFunction( YoungGroupFromPartition, function(part) local - p, # loop variable over the partition. - Y, # the Young subgroup formed over the partition. - generators, # the generators of Y. - G, # the symmetric group on p. - grps, # record entry of info. - olds, # record entry of info. - news, # record entry of info. - perms, # record entry of info. - info; # record for the DirectProductInfo of Y. + p, # loop variable over the partition. + Y, # the Young subgroup formed over the partition. + generators, # the generators of Y. + G, # the symmetric group on p. + grps, # record entry of info. + olds, # record entry of info. + news, # record entry of info. + perms, # record entry of info. + info; # record for the DirectProductInfo of Y. # Initialize the variables. @@ -57,18 +57,18 @@ end); InstallGlobalFunction( SubgroupLadder, function(G) local - orb, # the orbits of the permutation group G - n, # largest moved point of G - i, # loop variable - k, # size of current partition - ladder, # the ladder is a list containing pairs [partition, mapping] - partition, # partition is a list of positive integers (a_1, ..., a_k) such that - # a_1 is the biggest integer of the list. - mapping, # mapping is a list of positive integers (m_1, ..., m_n) such that - # 1 <= m_i <= k for all i. - pair, # a entry of the ladder [partition, mapping] used to construct a young subgroup - output, # a list of groups forming the ladder of G into S_n - FindPos; # a local function + orb, # the orbits of the permutation group G + n, # largest moved point of G + i, # loop variable + k, # size of current partition + ladder, # the ladder is a list containing pairs [partition, mapping] + partition, # partition is a list of positive integers (a_1, ..., a_k) such that + # a_1 is the biggest integer of the list. + mapping, # mapping is a list of positive integers (m_1, ..., m_n) such that + # 1 <= m_i <= k for all i. + pair, # a entry of the ladder [partition, mapping] used to construct a young subgroup + output, # a list of groups forming the ladder of G into S_n + FindPos; # a local function # # l = [l_1, ..., l_n] is a list of lists. @@ -78,8 +78,8 @@ function(G) # FindPos := function(l, x) local - n, # length of l - i; # loop variable over l + n, # length of l + i; # loop variable over l n := Length(l); for i in [1..n] do if x in l[i] then |