mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-12 15:16:27 +01:00
convenience (S)Aut(G) and (G::WreathProduct)(n,p) constructors
This commit is contained in:
parent
0a20c5bb73
commit
e9ae22cfe9
@ -45,7 +45,7 @@ mutable struct Automorphism{N} <: GWord{AutSymbol}
|
||||
|
||||
end
|
||||
|
||||
export Automorphism, AutGroup
|
||||
export Automorphism, AutGroup, Aut, SAut
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@ -170,6 +170,9 @@ function AutGroup(G::FreeGroup; special=false)
|
||||
return AutGroup{Int64(n)}(G, S)
|
||||
end
|
||||
|
||||
Aut(G::Group) = AutGroup(G)
|
||||
SAut(G::Group) = AutGroup(G, special=true)
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Types call overloads
|
||||
|
@ -113,6 +113,8 @@ doc"""
|
||||
"""
|
||||
(G::WreathProduct)(n::DirectProductGroupElem) = G(n, G.P())
|
||||
|
||||
(G::WreathProduct)(n,p) = G(G.N(n), G.P(p))
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Basic manipulation
|
||||
|
Loading…
Reference in New Issue
Block a user