1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

ValidatedNumerics parameters -- to be checked

This commit is contained in:
kalmar 2017-03-31 22:38:51 +02:00
parent 2b1bb7b765
commit 450d43ed14

View File

@ -2,7 +2,9 @@ import Base: rationalize
using ValidatedNumerics using ValidatedNumerics
ValidatedNumerics.setrounding(Interval, :correct) ValidatedNumerics.setrounding(Interval, :correct)
# ValidatedNumerics.setrounding(Interval, :fast) #which is slower??
ValidatedNumerics.setformat(:standard) ValidatedNumerics.setformat(:standard)
# setprecision(Interval, 53) # slightly faster than 256
function EOI{T<:Number}(Δ::GroupAlgebraElement{T}, κ::T) function EOI{T<:Number}(Δ::GroupAlgebraElement{T}, κ::T)
return Δ*Δ - κ*Δ return Δ*Δ - κ*Δ