[manual] bincoeff.m: make reference to nchoosek

Francesco Potortì Potorti at isti.cnr.it
Fri Dec 26 16:02:14 CST 2008


This is the last changeset of the batch.

# HG changeset patch
# User Francesco Potortì <pot at gnu.org>
# Date 1230328853 -3600
# Node ID eb9e03be880dd2910c89ad441351179b13e3635f
# Parent  6f793967b58b8e10412815d31902a39ca399187c
bincoeff.m: make reference to nchoosek

diff -r 6f793967b58b -r eb9e03be880d scripts/ChangeLog
--- a/scripts/ChangeLog	Fri Dec 26 22:56:19 2008 +0100
+++ b/scripts/ChangeLog	Fri Dec 26 23:00:53 2008 +0100
@@ -1,4 +1,6 @@ 2008-12-26  Francesco Potortì  <pot at gnu.
 2008-12-26  Francesco Potortì  <pot at gnu.org>
+
+	* miscellaneous/bincoeff.m: Make reference to nchoosek.
 
 	* general/prepad.m: Add reference to postpad.
 
diff -r 6f793967b58b -r eb9e03be880d scripts/miscellaneous/bincoeff.m
--- 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 at wu-wien.ac.at>
@@ -108,4 +114,3 @@ endfunction
 %!error bincoeff ();
 
 %!error bincoeff (1, 2, 3);
-

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Octave-maintainers mailing list