mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-12 15:16:27 +01:00
store only single factor and multiplicity in DirectProductGroup
This commit is contained in:
parent
a78e4ccea2
commit
d02c5afc65
@ -9,13 +9,14 @@ export DirectProductGroup, DirectProductGroupElem
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
doc"""
|
doc"""
|
||||||
DirectProductGroup(factors::Vector{Group}) <: Group
|
DirectProductGroup(G::Group, n::Int) <: Group
|
||||||
Implements direct product of groups as vector factors. The group operation is
|
Implements `n`-fold direct product of `G`. The group operation is
|
||||||
`*` distributed component-wise, with component-wise identity as neutral element.
|
`*` distributed component-wise, with component-wise identity as neutral element.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
immutable DirectProductGroup{T<:Group} <: Group
|
immutable DirectProductGroup{T<:Group} <: Group
|
||||||
factors::Vector{T}
|
group::T
|
||||||
|
n::Int
|
||||||
end
|
end
|
||||||
|
|
||||||
immutable DirectProductGroupElem{T<:GroupElem} <: GroupElem
|
immutable DirectProductGroupElem{T<:GroupElem} <: GroupElem
|
||||||
|
Loading…
Reference in New Issue
Block a user