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