Mercurial > hg > octave-lyh
diff src/data.cc @ 9736:fa63a34827e0
clarify nth_element docstring
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sat, 17 Oct 2009 21:23:25 +0200 |
parents | b4fdfee405b5 |
children | 09da0bd91412 |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -6164,7 +6164,7 @@ If @var{x} is an array, @code{nth_element} operates along the dimension defined by @var{dim},\n\ or the first non-singleton dimension if @var{dim} is not given.\n\ \n\ -nth_element encapsulates the C++ STL algorithms nth_element and partial_sort.\n\ +nth_element encapsulates the C++ standard library algorithms nth_element and partial_sort.\n\ On average, the complexity of the operation is O(M*log(K)), where\n\ @code{M = size(@var{x}, @var{dim})} and @code{K = length (@var{n})}.\n\ This function is intended for cases where the ratio K/M is small; otherwise,\n\