diff --git a/src/base/edition.rs b/src/base/edition.rs index 8b6581e8..d1493847 100644 --- a/src/base/edition.rs +++ b/src/base/edition.rs @@ -23,7 +23,7 @@ impl> Matrix { res } - /// Extracts the upper triangular part of this matrix (including the diagonal). + /// Extracts the lower triangular part of this matrix (including the diagonal). #[inline] pub fn lower_triangle(&self) -> MatrixMN where DefaultAllocator: Allocator { diff --git a/src/base/matrix.rs b/src/base/matrix.rs index 7a29fe2a..22254fa1 100644 --- a/src/base/matrix.rs +++ b/src/base/matrix.rs @@ -393,7 +393,7 @@ impl> Matrix { } /// Returns a matrix containing the result of `f` applied to each of its entries. Unlike `map`, - /// `f` also gets passed the row and column index, i.e. `f(value, row, col)`. + /// `f` also gets passed the row and column index, i.e. `f(row, col, value)`. #[inline] pub fn map_with_location N2>( &self,