indigits / scirust

Scientific Computing Library in Rust
Apache License 2.0
265 stars 29 forks source link

[WIP] Creating matrix from iterator, padding should be explicit. #24

Open daniel-vainsencher opened 9 years ago

daniel-vainsencher commented 9 years ago

Currently, just removes default padding. Plan for implementing padding versions is by extending the iterator with zeros, then calling the same underlying method. I propose for the default to require the iterator to end exactly with the matrix capacity (with a utility version that truncates the iter).