mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
constructors
This commit is contained in:
parent
6a29797557
commit
2d72393292
@ -21,10 +21,12 @@ type FPGroup <: Group
|
||||
end
|
||||
end
|
||||
|
||||
# FPSymbol(x::String, G::Group) = FPSymbol(x,1,G)
|
||||
# FPSymbol(s::GSymbol, G::Group) = FPSymbol(s.gen, s.pow, G)
|
||||
|
||||
|
||||
FPSymbol(s::String) = FPSymbol(s,1)
|
||||
|
||||
FPGroup(a::Vector{String}) = FPGroup([FPSymbol(i) for i in a], FPGroupElem[])
|
||||
|
||||
end
|
||||
|
||||
FPGroup() = FPGroup(Vector{FPSymbol}(), Vector{GWord{FPSymbol}}())
|
||||
|
Loading…
Reference in New Issue
Block a user