'every components' -> 'every component'

This commit is contained in:
Bruce Mitchener 2018-10-03 19:15:45 +07:00 committed by Sébastien Crozet
parent ca9b4e38dd
commit 516abbfa06
1 changed files with 4 additions and 4 deletions

View File

@ -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<N: Number, R: Dimension, C: Dimension>(m: &TMat<N, R, C>) -> 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<N: Number, R: Dimension, C: Dimension>(m: &TMat<N, R, C>) -> 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<N: Number, R: Dimension, C: Dimension>(m: &TMat<N, R, C>) -> 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:
///