1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-29 11:00:28 +01:00

GroupRing type definition

This commit is contained in:
kalmar 2017-05-16 18:28:32 +02:00
parent 200e9b429a
commit 7a23fdb759

View File

@ -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}