clausen
- :
y =clausen(x)¶ Clausen function of order 2
Cl2 (x) = sum_k sin (k*x) / k^2for real x. The function is odd and 2\pi-periodic, withCl2 (0) = Cl2 (pi) = 0andCl2 (pi/2)equal to Catalan’s constant. Evaluation uses the Koelbig Chebyshev expansions of Cl2.Single inputs yield single outputs.
+/-Infmap toNaN.