Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

gamma function?

yjyincj
Beginner
1,006 Views
I am using intel MKL for linux version=10.2.2.025. I can not find gamma() in the VML special function lists. Any idea? Thanks.
0 Kudos
8 Replies
ArturGuzik
Valued Contributor I
1,006 Views
Quoting - yjyincj
I am using intel MKL for linux version=10.2.2.025. I can not find gamma() in the VML special function lists. Any idea? Thanks.

You can't because there is not (I believe). You can get source code here.

A.
0 Kudos
yjyincj
Beginner
1,006 Views
Quoting - ArturGuzik

You can't because there is not (I believe). You can get source code here.

A.
Thanks.
0 Kudos
Gennady_F_Intel
Moderator
1,006 Views
Quoting - yjyincj
Thanks.

yjyincj,there are no such functionality into the current version.
I would recommend you submit the issue against MKL to Premier support( https://premier.intel.com/ )
--Gennady
0 Kudos
yjyincj
Beginner
1,006 Views

yjyincj,there are no such functionality into the current version.
I would recommend you submit the issue against MKL to Premier support( https://premier.intel.com/ )
--Gennady
I could not login premier.intel.com using my account yjyincj.
0 Kudos
ArturGuzik
Valued Contributor I
1,006 Views
Quoting - yjyincj
I could not login premier.intel.com using my account yjyincj.
I actually also would be happy to see it. I submitted the feature request. Number 571457.

A.
0 Kudos
woleakande
Beginner
1,006 Views

Thanks so much for the link.You are very generous.

Me too has some codes but still in Fortran 95.

Am about to upgarde it to C/C++.

Thanks.

0 Kudos
Shane_S_Intel
Employee
1,006 Views
You will findthe"true" gamma functionin the Intel Compiler provided math library libimf.a(described here -http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/main_cls_lin.pdf).Its prototype is double tgamma(double). Note that both the lgamma() and gamma() functions return not gamma but the log gamma for historical reasons.
0 Kudos
Francisco_Pe__241_u_
1,006 Views

There is an article that maybe can help you.

Calling the lgamma function from the Intel Fortran Compiler. You can find it in the search bar.

0 Kudos
Reply