mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 02:05:30 +01:00
But so far we only implemented Aut(FreeGroup)
This commit is contained in:
parent
117eddafd6
commit
b955eed67b
@ -19,7 +19,7 @@ typealias AutGroupElem GWord{AutSymbol}
|
|||||||
|
|
||||||
type AutGroup <: FPGroup
|
type AutGroup <: FPGroup
|
||||||
objectGroup::Group
|
objectGroup::Group
|
||||||
generators::Vector{AutSymbol}
|
gens::Vector{AutSymbol}
|
||||||
end
|
end
|
||||||
|
|
||||||
export AutSymbol, AutGroupElem, AutGroup
|
export AutSymbol, AutGroupElem, AutGroup
|
||||||
@ -107,9 +107,8 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function AutGroup(G::FPGroup; outer=false, special=false)
|
function AutGroup(G::FreeGroup; outer=false, special=false)
|
||||||
length(G.rels) == 0 || throw("Don't know how to construct AutGroup of $G.")
|
n = length(G.gens)
|
||||||
n = length(G.generators)
|
|
||||||
indexing = [[i,j] for i in 1:n for j in 1:n if i≠j]
|
indexing = [[i,j] for i in 1:n for j in 1:n if i≠j]
|
||||||
rmuls = [rmul_autsymbol(i,j) for (i,j) in indexing]
|
rmuls = [rmul_autsymbol(i,j) for (i,j) in indexing]
|
||||||
lmuls = [lmul_autsymbol(i,j) for (i,j) in indexing]
|
lmuls = [lmul_autsymbol(i,j) for (i,j) in indexing]
|
||||||
|
Loading…
Reference in New Issue
Block a user