diff --git a/nalgebra-glm/src/gtx/component_wise.rs b/nalgebra-glm/src/gtx/component_wise.rs index 98171554..1adec08c 100644 --- a/nalgebra-glm/src/gtx/component_wise.rs +++ b/nalgebra-glm/src/gtx/component_wise.rs @@ -3,7 +3,7 @@ use na::{self, DefaultAllocator}; use traits::{Number, Alloc, Dimension}; use aliases::TMat; -/// The sum of every components of the given matrix or vector. +/// The sum of every component of the given matrix or vector. /// /// # See also: /// @@ -15,7 +15,7 @@ pub fn comp_add(m: &TMat) -> N m.iter().fold(N::zero(), |x, y| x + *y) } -/// The maximum of every components of the given matrix or vector. +/// The maximum of every component of the given matrix or vector. /// /// # See also: /// @@ -31,7 +31,7 @@ pub fn comp_max(m: &TMat) -> N m.iter().fold(N::min_value(), |x, y| na::sup(&x, y)) } -/// The minimum of every components of the given matrix or vector. +/// The minimum of every component of the given matrix or vector. /// /// # See also: /// @@ -47,7 +47,7 @@ pub fn comp_min(m: &TMat) -> N m.iter().fold(N::max_value(), |x, y| na::inf(&x, y)) } -/// The product of every components of the given matrix or vector. +/// The product of every component of the given matrix or vector. /// /// # See also: ///