mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-23 08:15:29 +01:00
indentation
This commit is contained in:
parent
ea6a6722be
commit
6f0087b8c7
@ -49,8 +49,7 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function central_projection(RG::GroupRing, chi::AbstractCharacter,
|
function central_projection(RG::GroupRing, chi::AbstractCharacter, T::Type=Rational{Int})
|
||||||
T::Type=Rational{Int})
|
|
||||||
result = RG(T)
|
result = RG(T)
|
||||||
result.coeffs = full(result.coeffs)
|
result.coeffs = full(result.coeffs)
|
||||||
dim = chi(RG.group())
|
dim = chi(RG.group())
|
||||||
@ -70,7 +69,6 @@ function idempotents(RG::GroupRing{PermGroup}, T::Type=Rational{Int})
|
|||||||
Id = one(RG,T)
|
Id = one(RG,T)
|
||||||
transp = convert(T, RG(RG.group([2,1])))
|
transp = convert(T, RG(RG.group([2,1])))
|
||||||
return GroupRingElem{T}[1//2*(Id + transp), 1//2*(Id - transp)]
|
return GroupRingElem{T}[1//2*(Id + transp), 1//2*(Id - transp)]
|
||||||
|
|
||||||
end
|
end
|
||||||
projs = Vector{Vector{perm}}()
|
projs = Vector{Vector{perm}}()
|
||||||
for l in 2:RG.group.n
|
for l in 2:RG.group.n
|
||||||
@ -163,7 +161,7 @@ function rankOne_projections(BN::WreathProduct, T::Type=Rational{Int})
|
|||||||
last_emb = g->BN(Nemo.emb!(BN.P(), g, range[i+1:end]))
|
last_emb = g->BN(Nemo.emb!(BN.P(), g, range[i+1:end]))
|
||||||
|
|
||||||
Sk_first = [RBN(p, first_emb) for p in SNprojs_nc[i]]
|
Sk_first = [RBN(p, first_emb) for p in SNprojs_nc[i]]
|
||||||
Sk_last = [RBN(p, last_emb ) for p in SNprojs_nc[N-i]]
|
Sk_last = [RBN(p, last_emb) for p in SNprojs_nc[N-i]]
|
||||||
|
|
||||||
append!(all_projs,
|
append!(all_projs,
|
||||||
[Qs[i]*p1*p2 for (p1,p2) in Base.product(Sk_first,Sk_last)])
|
[Qs[i]*p1*p2 for (p1,p2) in Base.product(Sk_first,Sk_last)])
|
||||||
|
Loading…
Reference in New Issue
Block a user