0

我想知道是否有人已经在 C、C++ 或 Objective-C 中实现了两个 Matlab 函数gamfitgampdf 。我想我会先问一下,然后再自己实施它们。

4

1 回答 1

0

希望那些指向 c 源代码的链接可能会有所帮助:

http://www.mymathlib.com/functions
http://www.mymathlib.com/functions/probability/gamma_distribution.html
http://www.mymathlib.com/c_source/functions/probability/densities/gamma_density.c

注意:您应该检查许可证,只有参考我能找到“版权 © 2004 RLH。保留所有权利。”

您还可以查看 Boost 库:

http://www.boost.org/doc/libs/1_35_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html

于 2012-03-06T23:17:19.073 回答