I'm new at Julia-Lang and I'm trying to solve a symmetric tridiagonal system in Julia several times, so I, assemble my matrix as
SymTridiagonal( e ,ones(L-4) )
what changes in my system is the right-hand side. So I tried to use Chris Rackauckas solution on this thread, which I quote:
Just do X=lufact(X) and then X\b
The thing is that when I do that I get
ERROR: LoadError: MethodError: no method matching lufact!(::SymTridiagonal{Float64})
lufact!(!Matched::Union{Base.ReshapedArray{T<:Union{Complex{Float32}, Complex{Float64}, Float32, Float64},2,A,MI}
So my question is: What is the right way to make the imput to lufact! function