XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Jtheta4t()

Function Jtheta4t ( X As  Double,
Tau As  Double,
Optional Info As  Long 
)

Jacobi theta function θ4(x, τ)

Purpose
Computes the Jacobi theta function θ4.
θ4(x, τ) = 2Σ(-1)^n exp(iπτ)^(n + 1/2) sin((2n + 1)x) (Σ for n = 0 to ∞)
Returns
Double
Jacobi theta function θ4(x, τ).
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).
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions