[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [manual] bincoeff.m: make reference to nchoosek
From: |
Jaroslav Hajek |
Subject: |
Re: [manual] bincoeff.m: make reference to nchoosek |
Date: |
Sat, 27 Dec 2008 17:00:02 +0100 |
On Fri, Dec 26, 2008 at 11:02 PM, Francesco Potortì <address@hidden> wrote:
> This is the last changeset of the batch.
>
> # HG changeset patch
> # User Francesco Potortì <address@hidden>
> # 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ì <address@hidden
> 2008-12-26 Francesco Potortì <address@hidden>
> +
> + * 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 <address@hidden>
> @@ -108,4 +114,3 @@ endfunction
> %!error bincoeff ();
>
> %!error bincoeff (1, 2, 3);
> -
>
> --
I applied all of your patches. Thanks for the work.
regards
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz