mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-23 00:10:28 +01:00
rename computeLaplacian -> Laplacian
This commit is contained in:
parent
2def63c980
commit
08d53840a0
@ -22,18 +22,18 @@ function spLaplacian(RG::GroupRing{R}, S, T::Type=Float64) where {R<:Ring}
|
|||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
function computeLaplacian(S::Vector{E}, radius) where E<:AbstractAlgebra.RingElem
|
function Laplacian(S::Vector{E}, radius) where E<:AbstractAlgebra.RingElem
|
||||||
R = parent(first(S))
|
R = parent(first(S))
|
||||||
return computeLaplacian(S, one(R), radius)
|
return Laplacian(S, one(R), radius)
|
||||||
end
|
end
|
||||||
|
|
||||||
function computeLaplacian(S::Vector{E}, radius) where E<:AbstractAlgebra.GroupElem
|
function Laplacian(S::Vector{E}, radius) where E<:AbstractAlgebra.GroupElem
|
||||||
G = parent(first(S))
|
G = parent(first(S))
|
||||||
return computeLaplacian(S, G(), radius)
|
return Laplacian(S, G(), radius)
|
||||||
end
|
end
|
||||||
|
|
||||||
function computeLaplacian(S, Id, radius)
|
function Laplacian(S, Id, radius)
|
||||||
info("Generating metric ball of radius $radius...")
|
info("Generating metric ball of radius $(2radius)...")
|
||||||
@time E_R, sizes = Groups.generate_balls(S, Id, radius=2radius)
|
@time E_R, sizes = Groups.generate_balls(S, Id, radius=2radius)
|
||||||
info("Generated balls of sizes $sizes.")
|
info("Generated balls of sizes $sizes.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user