You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
StudentsT.partial_moment returns 0 or nan for odd orders when nu is above about 342 #969
300.0 -0.3986077382558514 -0.799899703705345
342.0 -0.0 -0.0
344.0 nan nan
500.0 nan nan
At nu=500 the values should be -0.398742 and -0.799089. The n=1 branch of _ord_t_partial_moment divides gamma(0.5 * (nu + 1)) by gamma(0.5 * nu), and both overflow. Higher odd orders recurse into it. Even orders are fine.
Activity