# HG changeset patch # User Francesco Potortì # Date 1230328853 -3600 # Node ID 69e27978114a2e31e18fb1a92f5f90e9aa48e4af # Parent 7ceb99b0abbfc735792e0fae144909929a6860d8 bincoeff.m: make reference to nchoosek diff -r 7ceb99b0abbf -r 69e27978114a 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,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 -r 7ceb99b0abbf -r 69e27978114a 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 @@ -108,4 +114,3 @@ %!error bincoeff (); %!error bincoeff (1, 2, 3); -