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}