Hi
using ToeplitzMatrices
r=zeros(1,5)
r[1:2]=[2.0,-1.0]
Toeplitz(r,r)
ERROR: MethodError: no method matching Toeplitz(::Array{Float64,2}, ::Array{Float64,2})
However, in Matlab:
r=zeros(1,5);
r(1:2)=[2,-1];
T=toeplitz(r);
T =
2 -1 0 0 0
-1 2 -1 0 0
0 -1 2 -1 0
0 0 -1 2 -1
0 0 0 -1 2
how can we solve this bug in Julia?