Skip to content

Shreyas-Ekanathan/SparseBandedMatrices

 
 

Repository files navigation

SparseBandedMatrices

Join the chat at https://julialang.zulipchat.com #sciml-bridged Stable Documentation Dev Documentation

CI codecov Package Downloads Aqua QA

ColPrac: Contributor's Guide on Collaborative Practices for Community Packages SciML Code Style

A fast implementation of Sparse Banded Matrices in Julia. Primarily developed for use in a Butterfly LU factorization implemented in RecursiveFactorization.jl and LinearSolve.jl.

Examples

using SparseBandedMatrices

A = SparseBandedMatrix{Float64}(undef, 5, 5)
A[1,1] = 5
setdiagonal!(A, [3,4,5], true) # sets the third diagonal from the bottom to have the values 3, 4, and 5

B = SparseBandedMatrix{Float64}([1, 8], [[3], [-2, 5, 1, 3]], 6, 6)

Intended Considerations

The implementation of SparseBandedMatrices is designed to be fast for matrix and vector multiplications.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%