|
|
◆ Jtheta4()
| Function Jtheta4 |
( |
X As |
Double, |
|
|
Q As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Jacobi theta function θ4(x, q)
- Purpose
- Computes the Jacobi theta function θ4.
θ4(x, q) = 1 + 2Σ(-1)^n q^(n^2) cos(2nx) (Σ for n = 1 to ∞)
- Returns
- Double
Jacobi theta function θ4(x, q).
- Parameters
-
| [in] | X | Argument x. |
| [in] | Q | Argument q. (0 < Q < 1) |
| [out] | Info | (Optional)
= 0: Successful exit.
= -2: The argument Q had an illegal value. (Q <= 0 or Q >= 1)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|