c++ - 用 C++ 编写的 Matlab gamfit 和 gampdf 函数

标签 c++ objective-c c matlab gamma-distribution

我想知道是否有人已经实现了这两个Matlab函数gamfitgampdf在 C、C++ 或 Objective-C 中。我想在我自己实现它们之前我应该​​先问一下。

最佳答案

希望这些 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

关于c++ - 用 C++ 编写的 Matlab gamfit 和 gampdf 函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9577541/

相关文章:

C++:写入文件

java - C++ 中的 typedef 关键字是否有 Java 等效项或方法?

ios - 如何在 ViewController 中为 UIButton 创建事件?

c - 文件映射与文件系统同步

c++ - 粒子系统的点 Sprite

c++ - std::strings 的容量()、保留()和调整大小()函数

c++ - 从 EEPROM 读取字符串时 ArduinoJson 解析失败

iphone - 获取 CGImageSourceRef 的图像路径

ios - 将 .caf 文件转换为规范化 float 组 Objective-C/C

c - 车辆避障传感器