# HG changeset patch # User Francesco Potortì # Date 1230328853 -3600 # Node ID 69e27978114a2e31e18fb1a92f5f90e9aa48e4af # Parent 7ceb99b0abbfc735792e0fae144909929a6860d8 bincoeff.m: make reference to nchoosek diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2008-12-26 Francesco Potortì + * miscellaneous/bincoeff.m: Make reference to nchoosek. + * general/postpad.m: Use @seealso. Add reference to resize. * statistics/base/statistics.m: Correct help string. diff --git a/scripts/miscellaneous/bincoeff.m b/scripts/miscellaneous/bincoeff.m --- 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 @@ -108,4 +114,3 @@ %!error bincoeff (); %!error bincoeff (1, 2, 3); -