Skip to content

Multivariate Taylor expansion with HypergeometricFunctions #336

@Li-shiyue

Description

@Li-shiyue

using TaylorSeries
using HypergeometricFunctions
function bbb(params)
x,y = params
return _₁F₁(2,3,x+0.5*y-1)
end
x, y = set_variables("x y", order=8)
bbb([x,y])
ERROR: MethodError: no method matching AbstractFloat(::TaylorN{Float64})

Closest candidates are:
(::Type{T})(::T) where T<:Number
@ Core boot.jl:792
(::Type{T})(::AbstractChar) where T<:Union{AbstractChar, Number}
@ Base char.jl:50
(::Type{T})(::Base.TwicePrecision) where T<:Number
@ Base twiceprecision.jl:266
...

Can anybody tell me how to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions