mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-07-30 06:05:31 +02:00
rearange fields in GroupRing; second internal constructor (full)
This commit is contained in:
parent
15af76f068
commit
9b8c2f6b45
@ -13,9 +13,9 @@ import Base: convert, show, hash, ==, +, -, *, //, /, length, norm, rationalize,
|
|||||||
|
|
||||||
type GroupRing <: Ring
|
type GroupRing <: Ring
|
||||||
group::Group
|
group::Group
|
||||||
pm::Array{Int,2}
|
|
||||||
basis::Vector{GroupElem}
|
basis::Vector{GroupElem}
|
||||||
basis_dict::Dict{GroupElem, Int}
|
basis_dict::Dict{GroupElem, Int}
|
||||||
|
pm::Array{Int,2}
|
||||||
|
|
||||||
function GroupRing(G::Group; full=false)
|
function GroupRing(G::Group; full=false)
|
||||||
A = new(G)
|
A = new(G)
|
||||||
@ -24,6 +24,10 @@ type GroupRing <: Ring
|
|||||||
end
|
end
|
||||||
return A
|
return A
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function GroupRing(G::Group, basis, basis_dict, pm::Array{Int,2})
|
||||||
|
return new(G, basis, basis_dict, pm)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
type GroupRingElem{T<:Number} <: RingElem
|
type GroupRingElem{T<:Number} <: RingElem
|
||||||
|
Loading…
Reference in New Issue
Block a user