changeset 8435:69e27978114a

bincoeff.m: make reference to nchoosek
author Francesco Potortì <pot@gnu.org>
date Fri, 26 Dec 2008 23:00:53 +0100
parents 7ceb99b0abbf
children 342f72c1df1a
files scripts/ChangeLog scripts/miscellaneous/bincoeff.m
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Dec 26 22:56:19 2008 +0100
+++ b/scripts/ChangeLog	Fri Dec 26 23:00:53 2008 +0100
@@ -1,5 +1,7 @@
 2008-12-26  Francesco Potortì  <pot@gnu.org>
 
+	* miscellaneous/bincoeff.m: Make reference to nchoosek.
+
 	* general/postpad.m: Use @seealso.  Add reference to resize.
 
 	* statistics/base/statistics.m: Correct help string.
--- a/scripts/miscellaneous/bincoeff.m	Fri Dec 26 22:56:19 2008 +0100
+++ b/scripts/miscellaneous/bincoeff.m	Fri Dec 26 23:00:53 2008 +0100
@@ -48,6 +48,12 @@
 ##      @result{} 10
 ## @end group
 ## @end example
+##
+## In most cases, the @code{nchoosek} function is faster for small
+## scalar integer arguments.  It also warns about loss of precision for
+## big arguments.
+##
+## @seealso{nchoosek}
 ## @end deftypefn
 
 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
@@ -108,4 +114,3 @@
 %!error bincoeff ();
 
 %!error bincoeff (1, 2, 3);
-