ApproxFun.jl icon indicating copy to clipboard operation
ApproxFun.jl copied to clipboard

functions of three and more variables

Open stla opened this issue 10 years ago • 3 comments

Hello, Is (will) there a way to deal with functions with more than 2 variables ?

f = Fun((x,y,z)->x+y+z, Interval(0,1)^3)
ERROR: `convert` has no method matching convert(::Type{Float64}, ::(Float64,Float64))
 in convert at base.jl:21
 in push! at array.jl:460
 in checkpoints at /home/stla/.julia/v0.3/ApproxFun/src/Multivariate/ProductDomain.jl:35
 in zerocfsFun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:121
 in Fun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:190
 in Fun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:195

stla avatar Aug 23 '15 16:08 stla

Not yet!  But hopefully at some point.

On 23 Aug 2015, at 5:44 pm, stla [email protected] wrote:

Hello, Is (will) there a way to deal with functions with more than 2 variables ?

f = Fun((x,y,z)->x+y+z, Interval(0,1)^3) ERROR: convert has no method matching convert(::Type{Float64}, ::(Float64,Float64)) in convert at base.jl:21 in push! at array.jl:460 in checkpoints at /home/stla/.julia/v0.3/ApproxFun/src/Multivariate/ProductDomain.jl:35 in zerocfsFun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:121 in Fun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:190 in Fun at /home/stla/.julia/v0.3/ApproxFun/src/Fun/constructors.jl:195 — Reply to this email directly or view it on GitHub https://github.com/ApproxFun/ApproxFun.jl/issues/236.

dlfivefifty avatar Aug 23 '15 16:08 dlfivefifty

:+1:

stla avatar Aug 25 '15 08:08 stla

Are there any plans to do this? What are the roadblocks?

karlwessel avatar Mar 30 '25 22:03 karlwessel