japaric-archived / linalg.rs

[INACTIVE]
Apache License 2.0
29 stars 1 forks source link

Store whether a slice is contiguous or strided in the type of Row/Col #64

Open japaric opened 9 years ago

japaric commented 9 years ago

This would let us convert from Col<Contiguous> to SubMat<Column>. And would also make the as_slice() -> &[T] method infallible when the slice is known to be contiguous.