2020-05-22 20:19:32 +0200 | asked a question | Plotting poly logarithmic function I am trying to plot the below function $$f(s,t) := \frac{(2\pi)^{s}}{\Gamma(s)}\;polylog(-s,e^{-2\pi t})$$ in the range $(s,t) \in (k,\infty) \times (1,\infty)$ where $k$ is a fixed positive real number. Thus, for my purposes, it is a real valued function on (subset of ) $R^2$. (Although, the function $polylog(s,z)$ is known to be complex analytic with respect to both s and z for arbitrary complex numbers s and $|z|<1$.) Following is the code which is working fine in sage Cell server for smaller values of s. However, the same code fails when I run larger values of $s$, even 200. I need to study the limiting behaviour of this function in terms of both parameters. Can someone tell me how to work around this "math range error"? PS I am new to Sage. |