mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-10-15 07:50:35 +02:00
Permutation group is iterable
This commit is contained in:
parent
d85d7c76c6
commit
bf97fc083b
@ -81,8 +81,8 @@ function GroupRingElem(c::AbstractVector, RG::GroupRing)
|
||||
return GroupRingElem{eltype(c), typeof(c), typeof(RG)}(c, RG)
|
||||
end
|
||||
|
||||
function GroupRing(G::Group; fastm::Bool=false)
|
||||
return GroupRing(G, vec(collect(elements(G))), fastm=fastm)
|
||||
function GroupRing(G::Generic.PermGroup; fastm::Bool=false)
|
||||
return GroupRing(G, vec(collect(G)), fastm=fastm)
|
||||
end
|
||||
|
||||
function GroupRing(G::Group, basis::Vector, pm::Array{Int,2})
|
||||
|
Loading…
Reference in New Issue
Block a user