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

◆ Jtheta3m1t_sub()

Sub Jtheta3m1t_sub ( Ret As  Double,
X As  Double,
Tau As  Double,
Optional Info As  Long 
)

Jacobi theta function θ3(x, τ) - 1 (Subroutine version)

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