mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +01:00
GroupRing type definition
This commit is contained in:
parent
200e9b429a
commit
7a23fdb759
@ -9,7 +9,14 @@ import Base: size, length, norm, rationalize
|
|||||||
|
|
||||||
export GroupAlgebraElement
|
export GroupAlgebraElement
|
||||||
|
|
||||||
|
type GroupRing <: Ring
|
||||||
|
group::Group
|
||||||
|
pm::Array{Int,2}
|
||||||
|
basis::Vector{GroupElem}
|
||||||
|
basis_dict::Dict{GroupElem, Int}
|
||||||
|
|
||||||
|
GroupRing(G::Group) = new(G)
|
||||||
|
end
|
||||||
immutable GroupAlgebraElement{T<:Number}
|
immutable GroupAlgebraElement{T<:Number}
|
||||||
coefficients::AbstractVector{T}
|
coefficients::AbstractVector{T}
|
||||||
product_matrix::Array{Int,2}
|
product_matrix::Array{Int,2}
|
||||||
|
Loading…
Reference in New Issue
Block a user