@@ -73,7 +73,7 @@ function *(P::ChebyshevTransformPlan{T,2,true}, x::AbstractVector{T}) where T
7373end
7474
7575* (P:: ChebyshevTransformPlan{T,k,false} , x:: AbstractVector{T} ) where {T,k} =
76- ChebyshevTransformPlan {T,k,true} (P)* copy (x)
76+ ChebyshevTransformPlan {T,k,true} (P)* Array (x)
7777
7878chebyshevtransform! (x:: AbstractVector{T} , kind= Val (1 )) where T =
7979 plan_chebyshevtransform! (x, kind)* x
@@ -85,7 +85,7 @@ chebyshevtransform!(x::AbstractVector{T}, kind=Val(1)) where T =
8585transforms from values on a Chebyshev grid of the first or second kind to Chebyshev
8686coefficients.
8787"""
88- chebyshevtransform (x, kind= Val (1 )) = chebyshevtransform! (copy (x), kind)
88+ chebyshevtransform (x, kind= Val (1 )) = chebyshevtransform! (Array (x), kind)
8989
9090
9191# # Inverse transforms take Chebyshev coefficients and produce values at Chebyshev points of the first and second kinds
@@ -165,12 +165,12 @@ function *(P::IChebyshevTransformPlan{T,2, true}, x::AbstractVector{T}) where T<
165165end
166166
167167* (P:: IChebyshevTransformPlan{T,k,false} ,x:: AbstractVector{T} ) where {T,k} =
168- IChebyshevTransformPlan {T,k,true} (P)* copy (x)
168+ IChebyshevTransformPlan {T,k,true} (P)* Array (x)
169169
170170ichebyshevtransform! (x:: AbstractVector{T} , kind= Val (1 )) where T =
171171 plan_ichebyshevtransform! (x, kind)* x
172172
173- ichebyshevtransform (x, kind= Val (1 )) = ichebyshevtransform! (copy (x), kind)
173+ ichebyshevtransform (x, kind= Val (1 )) = ichebyshevtransform! (Array (x), kind)
174174
175175# Matrix inputs
176176#
@@ -296,9 +296,9 @@ chebyshevutransform!(x::AbstractVector{T}, kind=Val(1)) where {T<:fftwNumber} =
296296transforms from values on a Chebyshev grid of the first or second kind to Chebyshev
297297coefficients of the 2nd kind (Chebyshev U expansion).
298298"""
299- chebyshevutransform (x, kind= Val (1 )) = chebyshevutransform! (copy (x), kind)
299+ chebyshevutransform (x, kind= Val (1 )) = chebyshevutransform! (Array (x), kind)
300300
301- * (P:: ChebyshevUTransformPlan{T,k,false} , x:: AbstractVector{T} ) where {T,k} = ChebyshevUTransformPlan {T,k,true} (P)* copy (x)
301+ * (P:: ChebyshevUTransformPlan{T,k,false} , x:: AbstractVector{T} ) where {T,k} = ChebyshevUTransformPlan {T,k,true} (P)* Array (x)
302302
303303# # Inverse transforms take ChebyshevU coefficients and produce values at ChebyshevU points of the first and second kinds
304304
@@ -374,10 +374,10 @@ end
374374ichebyshevutransform! (x:: AbstractVector{T} , kind= Val (1 )) where {T<: fftwNumber } =
375375 plan_ichebyshevutransform! (x, kind)* x
376376
377- ichebyshevutransform (x, kind= Val (1 )) = ichebyshevutransform! (copy (x), kind)
377+ ichebyshevutransform (x, kind= Val (1 )) = ichebyshevutransform! (Array (x), kind)
378378
379379* (P:: IChebyshevUTransformPlan{T,k,false} ,x:: AbstractVector{T} ) where {T,k} =
380- IChebyshevUTransformPlan {T,k,true} (P)* copy (x)
380+ IChebyshevUTransformPlan {T,k,true} (P)* Array (x)
381381
382382
383383# # Code generation for integer inputs
0 commit comments