Displaying 1 result from an estimated 1 matches for "herebey".
Did you mean:
herbei
2009 Dec 15
3
RFC: lchoose() vs lfactorial() etc
...1] -0.6931472 -2.0794415 NaN -3.2425924 NaN -3.8869494
[7] NaN -4.3357508 NaN -4.6805913
Warning message:
In lchoose(n, k) : NaNs produced
>
which (the NaN's) is not particularly useful.
(I have use case where I really have to workaround those NaNs.)
I herebey propose to *amend* the definition of lchoose() such
that it behaves analogously to lgamma() and lfactorial(),
i.e., to return
log(abs(choose(.,.))
Your comments are welcome.
Martin Maechler, ETH Zurich