rulinalg icon indicating copy to clipboard operation
rulinalg copied to clipboard

Add serde support

Open theotherphil opened this issue 8 years ago • 1 comments

ndarray has optional serde support, so hopefully we can just copy what they do.

theotherphil avatar May 27 '17 06:05 theotherphil

I think this is probably a good idea - however, would this mean that only rulinalg can read and write these serialized matrices? Perhaps then it's better to use a more standardized format (such as Matrix Market) and have individual functions for these, rather than using serde?

EDIT: It's probably a good idea in any case, because if a user has a type which contains a rulinalg matrix, the user would be able to automatically derive serde's Serialize/Deserialize, which may be convenient in many cases.

Andlon avatar Jun 03 '17 16:06 Andlon