XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ jtheta3()

double jtheta3 ( double  x,
double  q 
)

Jacobi theta function θ3(x, q)

Purpose
This function computes the Jacobi theta function θ3.
θ3(x, q) = 1 + 2Σq^(n^2) cos(2nx) (Σ for n = 1 to ∞)
Returns
Jacobi theta function θ3(x, q).
Parameters
[in]xArgument x.
[in]qArgument q. (0 < q < 1)
Error handling
  • If q <= 0 or q >= 1, domain error (EDOM) occurs.
  • Range error (ERANGE) may be reported.
Reference
boost/math/special_functions