'every components' -> 'every component'
This commit is contained in:
parent
ca9b4e38dd
commit
516abbfa06
@ -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:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user