You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following that works for a BandedMatrix and should also work with a ToeplitzMatrix:
A[band(1)] # get the first super-diagonal as a vector
A[band(-1)] =2# set all entries on the first sub-diagonal to 2
This is accomplished by band returning a type Band. Maybe Band could be moved into another package that both ToeplitzMatrices.jl and BandedMatrices.jl depend on? (MatrixBands.jl?)
The text was updated successfully, but these errors were encountered:
The following that works for a BandedMatrix and should also work with a ToeplitzMatrix:
This is accomplished by
band
returning a typeBand
. MaybeBand
could be moved into another package that both ToeplitzMatrices.jl and BandedMatrices.jl depend on? (MatrixBands.jl?)The text was updated successfully, but these errors were encountered: