1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

shift documentation and GWord{T} definition

This commit is contained in:
kalmarek 2018-03-27 21:30:36 +02:00
parent 8cd10c0bfa
commit 57dfc05221

View File

@ -27,8 +27,10 @@ doc"""
"""
abstract type GSymbol end
abstract type GWord{T<:GSymbol} <:GroupElem end
doc"""
W::GWord{T<:GSymbol} <:GroupElem
W::GroupWord{T} <: GWord{T<:GSymbol} <:GroupElem
> Basic representation of element of a finitely presented group. `W.symbols`
> fieldname contains particular group symbols which multiplied constitute a
> group element, i.e. a word in generators.
@ -42,9 +44,6 @@ doc"""
> `modified` flag remains `false`.
"""
abstract type GWord{T<:GSymbol} <:GroupElem end
mutable struct GroupWord{T} <: GWord{T}
symbols::Vector{T}
savedhash::UInt