-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I am trying following , and this works okay! I am raising this issue both on Symbolics and ToeplitzMatrices
using Symbolics, ToeplitzMatrices
N =250
a = Symbolics.variables(:a, 0:N);
b= [1; (1:N).*a[2:end]]
A = SymmetricToeplitz(a)
F_expr = A*b;
However, the code fails if i increase the code to N=280, even with FFTW
using Symbolics, ToeplitzMatrices,FFTW
N =280
a = Symbolics.variables(:a, 0:N);
b= [1; (1:N).*a[2:end]]
A = SymmetricToeplitz(a)
F_expr = A*b;
ERROR: MethodError: no method matching plan_fft!(::Vector{Complex{Num}}, ::UnitRange{Int64})
Closest candidates are:
plan_fft!(::StridedArray{T, N}, ::Any; flags, timelimit, num_threads) where {T<:Union{ComplexF64, ComplexF32}, N}
@ FFTW ~/.julia/packages/FFTW/HfEjB/src/fft.jl:786
plan_fft!(::AbstractArray; kws...)
@ AbstractFFTs ~/.julia/packages/AbstractFFTs/hJ0Fz/src/definitions.jl:65
Stacktrace:
[1] plan_fft!(x::Vector{Complex{Num}}; kws::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ AbstractFFTs ~/.julia/packages/AbstractFFTs/hJ0Fz/src/definitions.jl:65
[2] plan_fft!(x::Vector{Complex{Num}})
@ AbstractFFTs ~/.julia/packages/AbstractFFTs/hJ0Fz/src/definitions.jl:65
[3] factorize(A::SymmetricToeplitz{Num, Vector{Num}})
@ ToeplitzMatrices ~/.julia/packages/ToeplitzMatrices/5gW1c/src/linearalgebra.jl:150
[4] mul!(y::Vector{Num}, A::SymmetricToeplitz{Num, Vector{Num}}, x::Vector{Num}, α::Bool, β::Bool)
@ ToeplitzMatrices ~/.julia/packages/ToeplitzMatrices/5gW1c/src/linearalgebra.jl:37
[5] mul!
@ ~/software/julia-1.9.2/share/julia/stdlib/v1.9/LinearAlgebra/src/matmul.jl:276 [inlined]
[6] *(A::SymmetricToeplitz{Num, Vector{Num}}, x::Vector{Num})
@ LinearAlgebra ~/software/julia-1.9.2/share/julia/stdlib/v1.9/LinearAlgebra/src/matmul.jl:56
[7] top-level scope
@ REPL[36]:1
Metadata
Metadata
Assignees
Labels
No labels