Matlab gamfit and gampdf functions written in C++

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 03:22:29

问题


I am wondering if someone has already implemented the two Matlab functions gamfit and gampdf in C, C++ or objective-C. I figured I would ask before I go ahead and implement them myself.


回答1:


Hope those links to c source code may be of help:

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

Note: You should check for license, only reference I could find there was "Copyright © 2004 RLH. All rights reserved."

You may also check Boost libraries:

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



来源:https://stackoverflow.com/questions/9577541/matlab-gamfit-and-gampdf-functions-written-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!