mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-09-18 09:38:00 +02:00
square_as_elt is defined @everywhere;
No need to include the whole property(T).jl @everywhere; this usually takes a lot of time
This commit is contained in:
parent
2d90e2bf7c
commit
a696205d6e
2
SL3Z.jl
2
SL3Z.jl
@ -117,6 +117,6 @@ end
|
|||||||
|
|
||||||
@everywhere push!(LOAD_PATH, "./")
|
@everywhere push!(LOAD_PATH, "./")
|
||||||
using GroupAlgebras
|
using GroupAlgebras
|
||||||
@everywhere include("property(T).jl")
|
include("property(T).jl")
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
@ -95,7 +95,7 @@ function EOI{T<:Number}(Δ::GroupAlgebraElement{T}, κ::T)
|
|||||||
return Δ*Δ - κ*Δ
|
return Δ*Δ - κ*Δ
|
||||||
end
|
end
|
||||||
|
|
||||||
function square_as_elt(vector, elt)
|
@everywhere function square_as_elt(vector, elt)
|
||||||
zzz = zeros(elt.coefficients)
|
zzz = zeros(elt.coefficients)
|
||||||
zzz[1:length(vector)] = vector
|
zzz[1:length(vector)] = vector
|
||||||
# new_base_elt = GroupAlgebraElement(zzz, elt.product_matrix)
|
# new_base_elt = GroupAlgebraElement(zzz, elt.product_matrix)
|
||||||
|
Loading…
Reference in New Issue
Block a user