You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Julia package for multidimensional sparse arrays.
8
-
9
7
## Overview
10
8
11
9
`MultidimensionalSparseArrays.jl` provides a `SparseArray` type that efficiently stores and manipulates multidimensional arrays with a high proportion of zero elements. Unlike dense arrays, `SparseArray` only stores non-zero values, significantly reducing memory consumption for sparse data.
@@ -14,7 +12,7 @@ This package is designed to be a flexible and intuitive tool for scientific comp
14
12
15
13
## Comparison with `SparseArrays.jl`
16
14
17
-
`MultidimensionalSparseArrays.jl` is designed to provide a flexible and easy-to-use interface for N-dimensional sparse arrays. While Julia's standard library `SparseArrays.jl` is highly optimized for 1-D and 2-D sparse arrays (vectors and matrices), `MultidimensionalSparseArrays.jl` offers a more general-purpose solution for higher-dimensional sparse data.
15
+
`MultidimensionalSparseArrays.jl` is designed to provide a flexible and easy-to-use interface for N-dimensional sparse arrays. While Julia's standard library [`SparseArrays.jl`](https://github.com/JuliaSparse/SparseArrays.jl) is highly optimized for 1-D and 2-D sparse arrays (vectors and matrices), `MultidimensionalSparseArrays.jl` offers a more general-purpose solution for higher-dimensional sparse data.
18
16
19
17
Key differences include:
20
18
@@ -33,8 +31,6 @@ Key differences include:
33
31
34
32
## Installation
35
33
36
-
The package can be installed with the Julia package manager. From the Julia REPL, type `]` to enter the Pkg REPL mode and run:
37
-
38
34
```julia
39
35
pkg> add MultidimensionalSparseArrays
40
36
```
@@ -145,16 +141,6 @@ The following are the key exports of the package:
145
141
-`hasindex`: Check for a stored value at an index.
146
142
-`to_dense`: Convert to a dense array.
147
143
148
-
For more details, please refer to the docstrings of the individual functions.
149
-
150
-
## Code Formatting
151
-
152
-
This project uses `JuliaFormatter.jl` to ensure a consistent code style. To format your code locally, run the following command from the root of the project:
153
-
154
-
```bash
155
-
julia --project=format format/format.jl
156
-
```
157
-
158
144
## Contributing
159
145
160
-
Contributionsare welcome! Please feel free to submit a pull request or open an issue.
146
+
Contributions, bug reports, and feature requests are welcome! Feel free to open an issue or submit a pull request.
0 commit comments