@@ -73,7 +73,7 @@ function *(P::ChebyshevTransformPlan{T,2,true}, x::AbstractVector{T}) where T
73
73
end
74
74
75
75
* (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)
77
77
78
78
chebyshevtransform! (x:: AbstractVector{T} , kind= Val (1 )) where T =
79
79
plan_chebyshevtransform! (x, kind)* x
@@ -85,7 +85,7 @@ chebyshevtransform!(x::AbstractVector{T}, kind=Val(1)) where T =
85
85
transforms from values on a Chebyshev grid of the first or second kind to Chebyshev
86
86
coefficients.
87
87
"""
88
- chebyshevtransform (x, kind= Val (1 )) = chebyshevtransform! (copy (x), kind)
88
+ chebyshevtransform (x, kind= Val (1 )) = chebyshevtransform! (Array (x), kind)
89
89
90
90
91
91
# # 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<
165
165
end
166
166
167
167
* (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)
169
169
170
170
ichebyshevtransform! (x:: AbstractVector{T} , kind= Val (1 )) where T =
171
171
plan_ichebyshevtransform! (x, kind)* x
172
172
173
- ichebyshevtransform (x, kind= Val (1 )) = ichebyshevtransform! (copy (x), kind)
173
+ ichebyshevtransform (x, kind= Val (1 )) = ichebyshevtransform! (Array (x), kind)
174
174
175
175
# Matrix inputs
176
176
#
@@ -296,9 +296,9 @@ chebyshevutransform!(x::AbstractVector{T}, kind=Val(1)) where {T<:fftwNumber} =
296
296
transforms from values on a Chebyshev grid of the first or second kind to Chebyshev
297
297
coefficients of the 2nd kind (Chebyshev U expansion).
298
298
"""
299
- chebyshevutransform (x, kind= Val (1 )) = chebyshevutransform! (copy (x), kind)
299
+ chebyshevutransform (x, kind= Val (1 )) = chebyshevutransform! (Array (x), kind)
300
300
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)
302
302
303
303
# # Inverse transforms take ChebyshevU coefficients and produce values at ChebyshevU points of the first and second kinds
304
304
@@ -374,10 +374,10 @@ end
374
374
ichebyshevutransform! (x:: AbstractVector{T} , kind= Val (1 )) where {T<: fftwNumber } =
375
375
plan_ichebyshevutransform! (x, kind)* x
376
376
377
- ichebyshevutransform (x, kind= Val (1 )) = ichebyshevutransform! (copy (x), kind)
377
+ ichebyshevutransform (x, kind= Val (1 )) = ichebyshevutransform! (Array (x), kind)
378
378
379
379
* (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)
381
381
382
382
383
383
# # Code generation for integer inputs
0 commit comments