mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2025-01-01 03:40:29 +01:00
create_pm convenience
This commit is contained in:
parent
07cc7eff16
commit
408c5a34e3
@ -366,6 +366,8 @@ function create_pm{T<:GroupElem}(basis::Vector{T}, basis_dict::Dict{T, Int},
|
|||||||
return product_matrix
|
return product_matrix
|
||||||
end
|
end
|
||||||
|
|
||||||
|
create_pm{T<:GroupElem}(b::Vector{T}) = create_pm(b, reverse_dict(b))
|
||||||
|
|
||||||
function complete(A::GroupRing)
|
function complete(A::GroupRing)
|
||||||
if !isdefined(A, :basis)
|
if !isdefined(A, :basis)
|
||||||
A.basis = collect(elements(A.group))
|
A.basis = collect(elements(A.group))
|
||||||
|
Loading…
Reference in New Issue
Block a user