CUDA内核的更广泛的数学函数库?特别不完整的测试版 [英] a more extensive library of math functions for CUDA kernel? particularly incomplete beta

查看:219
本文介绍了CUDA内核的更广泛的数学函数库?特别不完整的测试版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解cuda数学库,而cuda 4.1工具包版本具有诸如gamma和bessel函数之类的好东西。我需要正规化的不完全beta函数(也就是beta概率分布的累积分布函数)。

I know about the cuda math library, and the cuda 4.1 toolkit version has good stuff like the gamma and bessel functions. I need the regularized incomplete beta function (a.k.a the cumulative distribution function for the beta probability distribution). Is this available in any open source library?

推荐答案

我对统计函数不了解,但看起来像函数一样Cephes库中的incbet()可能是一个合理的起点。 Cephes库享有很高的声誉,可通过Netlib随时获得资源。参见 http://www.netlib.org/cephes

I don't know enough about statistical functions, but it looks like the function incbet() in the Cephes library may be a reasonable starting point. The Cephes library has an excellent reputation, and sources are readily available via Netlib. See http://www.netlib.org/cephes

在存档cprob.tgz中有一个文件incbet.c,其中包含incbet()的源。

Inside the archive cprob.tgz there is a file incbet.c which contains the source for incbet().

这篇关于CUDA内核的更广泛的数学函数库?特别不完整的测试版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆