changeset 9736:fa63a34827e0

clarify nth_element docstring
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 17 Oct 2009 21:23:25 +0200
parents 4d03aff3add3
children 9bc642ea9006
files src/ChangeLog src/data.cc
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Oct 17 06:31:00 2009 +0200
+++ b/src/ChangeLog	Sat Oct 17 21:23:25 2009 +0200
@@ -1,3 +1,7 @@
+2009-10-17  Jaroslav Hajek  <highegg@gmail.com>
+
+	* data.cc (Fnth_element): Clarify docstring.
+
 2009-10-16  Jaroslav Hajek  <highegg@gmail.com>
 
 	* Cell.cc: Remove traces of ArrayN.
--- a/src/data.cc	Sat Oct 17 06:31:00 2009 +0200
+++ b/src/data.cc	Sat Oct 17 21:23:25 2009 +0200
@@ -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\