0
Beantwortet
nchoosek, binomial coefficient
How do we increase dynamic range of Matlab's binomial coefficient function nchoosek()?
It will not accept multiprecision mp() input.
Customer support service by UserEcho
Toolbox doesn't include this function at the moment. Now I am considering to add it.
How do you use it? Just to compute binomial coefficient or to generate all combinations?
There is a quick way to make the built-in 'nchoosek()' work with toolbox. Create flintmax.m file in [toolbox_folder]\@char directory with following content:
Restart MATLAB and test 'nchoosek()', e.g.:
We have just updated toolbox distribution/installer with the 'flintmax.m' already included.
Please download and use the latest toolbox version.
Pavel, on your webpage
https://www.advanpix.com/documentation/version-history/
there is reference to Matlab's nchoosek().
I posted matlab code for linking to its complete (negative argument) binomial coefficient definition here:
https://www.convexoptimization.com/wikimization/index.php/Binomial_coefficient
Here is LaTeX output: