|
|
◆ jtheta2()
| double jtheta2 |
( |
double |
x, |
|
|
double |
q |
|
) |
| |
Jacobi theta function θ2(x, q)
- Purpose
- This function computes the Jacobi theta function θ2.
θ2(x, q) = 2Σq^(n + 1/2) cos((2n + 1)x) (Σ for n = 0 to ∞)
- Returns
- Jacobi theta function θ2(x, q).
- Parameters
-
| [in] | x | Argument x. |
| [in] | q | Argument 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
|