dimforge / dimforge/nalgebra

Serde integration for nalgebra-sparse

Open
#876 0 comments 0 reactions 0 assignees View on GitHub
enhancement nalgebra-sparse
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

`nalgebra-sparse` currently does not implement `Serialize` or `Deserialize`. Serialization should ideally be implemented for all major storage types (COO, CSR, CSC). These implementations should be hidden behind a feature flag, like `nalgebra`.

Note that deserialization requires some care, and simply slapping `derive(Deserialize)` is not sufficient. The reason is that the sparse matrix formats have some invariants that must be verified in order for subsequent use to remain sound.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.