Confusing documentation on strides
#1217
Labels
documentation
Issues about the rustdoc-generated documentation
good first issue
Good first issue for newcomers.
According to
RawStorage::strides
But according to the implementation of
RawStorage::linear_index
:nalgebra/src/base/storage.rs
Lines 70 to 75 in 52e6db9
(1, 5)
is a column-major matrix with 5 rows, as elements in the same column are consecutive in memory.My personal suggested wording would be "The spacing between consecutive elements across rows and across columns.", but let's discuss. Or we could adapt the wording from NumPy.
The text was updated successfully, but these errors were encountered: