Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for band #21

Open
dlfivefifty opened this issue Sep 26, 2016 · 2 comments
Open

Add support for band #21

dlfivefifty opened this issue Sep 26, 2016 · 2 comments

Comments

@dlfivefifty
Copy link
Member

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

@MikaelSlevinsky
Copy link
Member

could have antiband for Hankel matrices 😆

@jishnub
Copy link
Member

jishnub commented May 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants