ToeplitzMatrices.jl icon indicating copy to clipboard operation
ToeplitzMatrices.jl copied to clipboard

Add support for band

Open dlfivefifty opened this issue 9 years ago • 2 comments

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?)

dlfivefifty avatar Sep 26 '16 02:09 dlfivefifty

could have antiband for Hankel matrices 😆

MikaelSlevinsky avatar May 14 '17 22:05 MikaelSlevinsky

With the addition of package extensions in Julia v1.9, it seems like a good time to revive this

jishnub avatar May 31 '23 06:05 jishnub