[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bicoeff references nchoosek
From: |
Francesco Potortì |
Subject: |
bicoeff references nchoosek |
Date: |
Mon, 01 Dec 2008 16:03:34 +0100 |
Hmm. The comment has a typo: should be bincoeff, not bicoeff...
# HG changeset patch
# User Francesco Potortì <address@hidden>
# Date 1228143714 -3600
# Node ID 274cc925b214fdf093717911a32dcd743d8d29c3
# Parent 021be2026afac53045210fb2669331fbe6414079
bicoeff references nchoosek
diff -r 021be2026afa -r 274cc925b214 scripts/ChangeLog
--- a/scripts/ChangeLog Mon Dec 01 15:42:55 2008 +0100
+++ b/scripts/ChangeLog Mon Dec 01 16:01:54 2008 +0100
@@ -1,4 +1,6 @@ 2008-12-01 Francesco Potortì <address@hidden
2008-12-01 Francesco Potortì <address@hidden>
+
+ * miscellaneous/bincoeff.m: Make a reference to nchoosek.
* specfun/nchoosek.m: Add checks for numeric, integer arguments
with correct bounds and relative tests.
diff -r 021be2026afa -r 274cc925b214 scripts/miscellaneous/bincoeff.m
--- a/scripts/miscellaneous/bincoeff.m Mon Dec 01 15:42:55 2008 +0100
+++ b/scripts/miscellaneous/bincoeff.m Mon Dec 01 16:01:54 2008 +0100
@@ -48,6 +48,11 @@
## @result{} 10
## @end group
## @end example
+##
+## In most cases, for small scalar integer arguments, the @code{nchoosek}
+## function is faster. It also warns about loss of precision for big
arguments.
+##
+## @seealso{nchoosek}
## @end deftypefn
## Author: KH <address@hidden>
@@ -108,4 +113,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: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bicoeff references nchoosek,
Francesco Potortì <=