Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Implement the Ramanujan mock theta functions
ResourceFunction["MockTheta"]["type", q] gives the value of the mock theta function of type "type" at q. | |
ResourceFunction["MockTheta"]["Types"] gives a list of available types. |
Evaluate a mock theta function for symbolic input:
In[1]:= |
Out[1]= |
Evaluate a mock theta function for numeric input:
In[2]:= |
Out[2]= |
Obtain a list of the allowed types of mock theta functions:
In[3]:= |
Out[3]= |
For generic exact values or symbolic input, mock theta functions are evaluated in terms of QHypergeometricPFQ:
In[4]:= |
Out[4]= |
Some results may contain small imaginary components:
In[5]:= |
Out[5]= |
Chop will remove the small component:
In[6]:= |
Out[6]= |
This work is licensed under a Creative Commons Attribution 4.0 International License