You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use HypergeometricFunctions and TaylorSeries at the same time as follows.
using HypergeometricFunctions
using Plots
using TaylorSeries
x = set_variables("x", order=100)[1];
Base.isless(y::Number, x::TaylorN) = isless(y, x.coeffs[1].coeffs[1])
Base.log1p(x::TaylorN) = log(1+x)
Base.eps(::Type{TaylorN{T}}) where T = eps(T)
Base.isless(x::TaylorN, y::Number) = isless(x.coeffs[1].coeffs[1], y)
HypergeometricFunctions.pFq((2.0,),(5.0,),x)
However, I got the error:
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
...
The text was updated successfully, but these errors were encountered:
I tried to use HypergeometricFunctions and TaylorSeries at the same time as follows.
using HypergeometricFunctions
using Plots
using TaylorSeries
x = set_variables("x", order=100)[1];
Base.isless(y::Number, x::TaylorN) = isless(y, x.coeffs[1].coeffs[1])
Base.log1p(x::TaylorN) = log(1+x)
Base.eps(::Type{TaylorN{T}}) where T = eps(T)
Base.isless(x::TaylorN, y::Number) = isless(x.coeffs[1].coeffs[1], y)
HypergeometricFunctions.pFq((2.0,),(5.0,),x)
However, I got the error:
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
...
The text was updated successfully, but these errors were encountered: