Fix false row-major comment in doc

In the documentation of RawStorage::stride it was falsely claimed that
the storage of the matrix happens in a row-major fashion. In fact it is
column-major.
This commit is contained in:
Derek Christ 2024-04-18 18:06:36 +02:00
parent a803815bd1
commit 28d04b61cd
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ pub unsafe trait RawStorage<T, R: Dim, C: Dim = U1>: Sized {
/// The spacing between consecutive row elements and consecutive column elements. /// The spacing between consecutive row elements and consecutive column elements.
/// ///
/// For example this returns `(1, 5)` for a row-major matrix with 5 columns. /// For example this returns `(1, 5)` for a column-major matrix with 5 columns.
fn strides(&self) -> (Self::RStride, Self::CStride); fn strides(&self) -> (Self::RStride, Self::CStride);
/// Compute the index corresponding to the irow-th row and icol-th column of this matrix. The /// Compute the index corresponding to the irow-th row and icol-th column of this matrix. The