From 151084d6448bbfbffc05d036a4743c34e3f3dc86 Mon Sep 17 00:00:00 2001 From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> Date: Fri, 28 Apr 2023 13:35:54 +0200 Subject: [PATCH] docs: correct row-major -> column-major for Matrix{1-6}xX storage cf. Github discussion https://github.com/dimforge/nalgebra/discussions/1225 --- src/base/alias.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/base/alias.rs b/src/base/alias.rs index e3ac40b0..a07ea9e7 100644 --- a/src/base/alias.rs +++ b/src/base/alias.rs @@ -81,32 +81,32 @@ pub type MatrixXx5 = Matrix>; #[cfg(any(feature = "std", feature = "alloc"))] pub type MatrixXx6 = Matrix>; -/// A heap-allocated, row-major, matrix with 1 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 1 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))] pub type Matrix1xX = Matrix>; -/// A heap-allocated, row-major, matrix with 2 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 2 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))] pub type Matrix2xX = Matrix>; -/// A heap-allocated, row-major, matrix with 3 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 3 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))] pub type Matrix3xX = Matrix>; -/// A heap-allocated, row-major, matrix with 4 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 4 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))] pub type Matrix4xX = Matrix>; -/// A heap-allocated, row-major, matrix with 5 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 5 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))] pub type Matrix5xX = Matrix>; -/// A heap-allocated, row-major, matrix with 6 rows and a dynamic number of columns. +/// A heap-allocated, column-major, matrix with 6 rows and a dynamic number of columns. /// /// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.** #[cfg(any(feature = "std", feature = "alloc"))]