JuliaApproximation / ApproxFun.jl

Julia package for function approximation
http://juliaapproximation.github.io/ApproxFun.jl/
Other
539 stars 70 forks source link

Interval arithmetic #23

Closed ghost closed 10 years ago

ghost commented 10 years ago

In the Readme, regarding PDEs: d=Interval()^2. In Julia 0.3.0, ApproxFun 0.0.3, This raises an error, ERROR: '*' has no method matching *(::Interval{Float64}, ::Interval{Float64}) in power_by_squaring at intfuncs.jl:56 in ^ at intfuncs.jl:86 And somewhat hobbles the PDE solving efforts. Indeed, it appears no arithmetic is defined for the Interval type. Is there an implicit dependency that one must build?

dlfivefifty commented 10 years ago

Hi Chris,

The readme is updated for the latest master.  Try 

    d=Interval()⊗Interval()

On 24 Sep 2014, at 8:18 am, chrishasaflavor notifications@github.com wrote:

In the Readme, regarding PDEs: d=Interval()^2. In Julia 0.3.0, ApproxFun 0.0.3, This raises an error, ERROR: '' has no method matching (::Interval{Float64}, ::Interval{Float64}) in power_by_squaring at intfuncs.jl:56 in ^ at intfuncs.jl:86 And somewhat hobbles the PDE solving efforts. Indeed, it appears no arithmetic is defined for the Interval type. Is there an implicit dependency that one must build?

— Reply to this email directly or view it on GitHub.

ghost commented 10 years ago

Very nice, thank you.