mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +01:00
elem_type, parent_type, parent
This commit is contained in:
parent
6dd130e789
commit
5d51146688
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user