Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JuliaSparse/SparseArrays.jl
SparseArrays.jl is a Julia stdlib
https://github.com/JuliaSparse/SparseArrays.jl
julia sparse-matrix stdlib
Last synced: 3 months ago
JSON representation
SparseArrays.jl is a Julia stdlib
- Host: GitHub
- URL: https://github.com/JuliaSparse/SparseArrays.jl
- Owner: JuliaSparse
- License: other
- Created: 2021-11-02T13:49:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T14:49:32.000Z (7 months ago)
- Last Synced: 2024-04-13T12:17:38.059Z (7 months ago)
- Topics: julia, sparse-matrix, stdlib
- Language: Julia
- Homepage: https://sparsearrays.juliasparse.org/
- Size: 2.85 MB
- Stars: 75
- Watchers: 13
- Forks: 41
- Open Issues: 104
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-sciml - JuliaLang/SparseArrays.jl: SparseArrays.jl is a Julia stdlib
README
# SparseArrays
| **Documentation** | **Build Status** |
|:-----------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------:|
| [![][docs-img]][docs-url] | [![][ci-img]][ci-url] [![][codecov-img]][codecov-url] |[docs-img]: https://img.shields.io/badge/docs-blue.svg
[docs-url]: https://sparsearrays.juliasparse.org/dev/[docs-v1-img]: https://img.shields.io/badge/docs-v1-blue.svg
[docs-v1-url]: https://sparsearrays.juliasparse.org/v1/[ci-img]: https://github.com/JuliaSparse/sparsearrays.jl/workflows/CI/badge.svg?branch=main
[ci-url]: https://github.com/JuliaSparse/sparsearrays.jl/actions?query=workflow%3A%22CI%22[codecov-img]: https://codecov.io/gh/JuliaSparse/sparsearrays.jl/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/JuliaSparse/sparsearrays.jlThis package ships as part of the Julia stdlib.
SparseArrays.jl provides functionality for working with sparse arrays in Julia.
## Using development versions of this package
To use a newer version of this package, you need to build Julia from scratch. The build process is the same as any other build except that you need to change the commit used in `stdlib/SparseArrays.version`.
It's also possible to load a development version of the package using [the trick used in the Section named "Using the development version of Pkg.jl" in the `Pkg.jl` repo](https://github.com/JuliaLang/Pkg.jl#using-the-development-version-of-pkgjl), but the capabilities are limited as all other packages will depend on the stdlib version of the package and will not work with the modified package.
The main environment may become inconsistent so you might need to run `Pkg.instantiate()` and/or `Pkg.resolve()` in the main or project environments if Julia complains about missing `Serialization.jl` in this package's dependencies.
For older (1.8 and before) `SuiteSparse.jl` needs to be bumped too.
## Updating SuiteSparse
In order to upgrade SparseArrays.jl to use a new release of SuiteSparse, the following steps are necessary:
1. Update SuiteSparse in Yggdrasil
2. Update the SuiteSparse wrappers in SparseArrays.jl/gen and generate the new wrappers
3. Run BumpStdlibs to update the SparseArrays.jl version in julia master
4. Update the relevant stdlibs in Julia to pull in the new releases