mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-25 18:25:30 +01:00
Cstar_reprs are usually sparse
This commit is contained in:
parent
cda9538653
commit
c86f46666a
@ -132,7 +132,7 @@ function reconstruct_sol{T<:GroupElem, S<:AbstractArray}(mreps::Dict{T, S},
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Cstar_repr{T}(x::GroupRingElem{T}, mreps::Dict)
|
function Cstar_repr{T}(x::GroupRingElem{T}, mreps::Dict)
|
||||||
res = zeros(size(mreps[first(keys(mreps))])...)
|
res = spzeros(size(mreps[first(keys(mreps))])...)
|
||||||
|
|
||||||
for g in parent(x).basis
|
for g in parent(x).basis
|
||||||
if x[g] != zero(T)
|
if x[g] != zero(T)
|
||||||
|
Loading…
Reference in New Issue
Block a user