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

◆ jtheta4m1t()

double jtheta4m1t ( double  x,
double  tau 
)

Jacobi theta function θ4(x, τ) - 1

Purpose
This function computes the Jacobi theta function θ4 - 1.
θ4(x, τ) = 2Σ(-1)^n exp(iπτ)^(n + 1/2) sin((2n + 1)x) (Σ for n = 0 to ∞)
Returns
Jacobi theta function θ4(x, τ) - 1.
Parameters
[in]xArgument x.
[in]tauAssuming that the argument τ is a purely imaginary number, it is expressed as a real number (τ = i*tau).
This is equivalent to setting q = exp(iπτ) in θ4(x, q).
Error handling
  • Range error (ERANGE) may be reported.
Reference
boost/math/special_functions