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

BandedMatrix with upper/subdiagonals far away from the main diagonal

Open ignace-computing opened this issue 4 years ago • 1 comments

May I please ask a question :) (Sorry if this is not the right place to do so.)

Is it possible to define a sparse circulant matrix in Julia? (For instance, a matrix stemming from the spatial discretization of a one-dimensional heat equation with periodic boundary condition.) If so, how?

Thank you very much, in advance!

ignace-computing avatar Nov 28 '21 21:11 ignace-computing

My suggestion is to modify Circulant in

https://github.com/JuliaMatrices/ToeplitzMatrices.jl

to support a storage format of SparseVector.

dlfivefifty avatar Nov 29 '21 11:11 dlfivefifty