@@ -5,9 +5,9 @@ using ApproxFun
55using ApproxFun: TransformPlan, ITransformPlan
66import ApproxFunBase: valsdomain_type_promote
77using DomainSets
8- import FastTransforms: ChebyshevTransformPlan, plan_chebyshevtransform ,
9- plan_chebyshevtransform!, plan_ichebyshevtransform ,
10- plan_ichebyshevtransform!
8+ import FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan ,
9+ plan_chebyshevtransform, plan_chebyshevtransform! ,
10+ plan_ichebyshevtransform, plan_ichebyshevtransform !
1111
1212# Dual number support. Should there be realpart and dualpart of Space and Domain?
1313DualNumbers. realpart (f:: Fun{S,T} ) where {S,T<: Dual } = Fun (space (f),realpart .(coefficients (f)))
@@ -45,6 +45,7 @@ plan_ichebyshevtransform(v::AbstractVector{D}, ::Val{kind}) where {D<:Dual,kind}
4545
4646
4747Base.:(* )(P:: ChebyshevTransformPlan ,v:: AbstractVector{<:Dual} ) = dual .(P* realpart .(v),P* dualpart .(v))
48+ Base.:(* )(P:: IChebyshevTransformPlan ,v:: AbstractVector{<:Dual} ) = dual .(P* realpart .(v),P* dualpart .(v))
4849
4950# TODO : Hardy{false}
5051for (OP,TransPlan) in ((:plan_transform ,:TransformPlan ),(:plan_itransform ,:ITransformPlan )),
0 commit comments