Calling tansform with Complex values (like the example below)
using ApproxFun
S = Chebyshev()
x = points(S, 10)
y = cis.(x)
transform(S, y)
Causes an error as the transform method tries to convert the vector y to AbstractArray{float(eltype(y))}, and float(Complex{...}) is not defined.
This should just work if the type conversion had a special case for complex values.
Calling tansform with Complex values (like the example below)
Causes an error as the
transformmethod tries to convert the vectorytoAbstractArray{float(eltype(y))}, andfloat(Complex{...})is not defined.This should just work if the type conversion had a special case for complex values.