Mercurial > hg > octave-lyh
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 +++ b/scripts/ChangeLog @@ -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 +++ b/scripts/miscellaneous/bincoeff.m @@ -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); -