Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
82 Views

gamma function?

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
Highlighted
Valued Contributor I
82 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
Highlighted
Beginner
82 Views

Quoting - ArturGuzik

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

A.
Thanks.
0 Kudos
Highlighted
Moderator
82 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
Highlighted
Beginner
82 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
Highlighted
Valued Contributor I
82 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
Highlighted
Beginner
82 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
Highlighted
Employee
82 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.pd...).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
Highlighted
82 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