Weierstrass sigma function
Evaluation of the Weierstrass sigma function.
wsigma(z, g = NULL, omega = NULL, tau = NULL)
z
: a complex number, vector or matrixg
: the elliptic invariants, a vector of two complex numbers; only one of g
, omega
and tau
must be givenomega
: the half-periods, a vector of two complex numbers; only one of g
, omega
and tau
must be giventau
: the half-periods ratio; supplying tau
is equivalent to supply omega = c(1/2, tau/2)
A complex number, vector or matrix.
wsigma(1, g = c(12, -8)) # should be equal to: sin(1i*sqrt(3))/(1i*sqrt(3)) / sqrt(exp(1))