From 7a23fdb759ef787555b8bf2dfdd02ab771377948 Mon Sep 17 00:00:00 2001 From: kalmar Date: Tue, 16 May 2017 18:28:32 +0200 Subject: [PATCH] GroupRing type definition --- src/GroupAlgebras.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/GroupAlgebras.jl b/src/GroupAlgebras.jl index 48d0b6b..42c8941 100644 --- a/src/GroupAlgebras.jl +++ b/src/GroupAlgebras.jl @@ -9,7 +9,14 @@ import Base: size, length, norm, rationalize 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} coefficients::AbstractVector{T} product_matrix::Array{Int,2}