elem_type, parent_type, parent

This commit is contained in:
kalmar 2017-05-16 18:34:43 +02:00
parent 6dd130e789
commit 5d51146688
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ end
export GroupRing, GroupRingElem
elem_type(::GroupRing) = GroupRingElem
parent_type(::GroupRingElem) = GroupRing
parent(g::GroupRingElem) = g.parent
GroupRingElem{T}(c::AbstractVector{T}, A::GroupRing) = GroupRingElem{T}(c,A)