I'm new to Mathematica and unsure of how to compute functions or set up definitions.

I'd like to do some computations with the $_1F_1$ hypergeometric function of matrix argument as in the Koev and Edelman paper. That paper only includes code for MATLAB, but I don't have access to it so I was hoping to do my computations with Mathematica (I saw another post which had some code for this function).

Would somebody please walk me through the process of defining and computing values of this function.

Thanks for the help!

  • 1
    $\begingroup$ Can you give an example problem please? Intuitively I'd suggest to diagonalize the matrix, calculate the hypergeometric function on the diagonal elements, and then transform back, in the same way that matrix exponentials are computed. $\endgroup$ – Roman Jul 5 '19 at 16:49
  • $\begingroup$ Welcome to Mma.SE. Start by taking the tour now and learning about asking and what's on-topic. Always edit if improvable, show due diligence, give brief context, include minimal working example of code and data in formatted form. By doing all this you help us to help you and likely you will inspire great answers. Do not expect people to follow your links and download files, explain what you need directly. $\endgroup$ – rhermans Jul 5 '19 at 16:50
  • $\begingroup$ Your question may be put on-hold because you have not explained what you need in enough detail. To avoid or revert the Hold you can edit your question to improve it and make it specific, well-structured and easy to understand. Please don't be discouraged by that cleaning-up policy. Your questions are and will be most welcomed. Learn about good questions here. $\endgroup$ – rhermans Jul 5 '19 at 16:51
  • 1
    $\begingroup$ Have you tried MatrixFunction? For example, MatrixFunction[Hypergeometric1F1[0.1, 0.3, #] &, A] to calculate the matrix hypergeometric of a matrix A. $\endgroup$ – Roman Jul 5 '19 at 18:11
  • $\begingroup$ Possible duplicate: mathematica.stackexchange.com/questions/58298/… -- seems that the accepted answer does just what you ask, no? $\endgroup$ – Michael E2 Jul 5 '19 at 18:31

Browse other questions tagged or ask your own question.