wsigma: Weierstrass sigma function

View source: R/wsigma.R

wsigmaR Documentation

Weierstrass sigma function

Description

Evaluation of the Weierstrass sigma function.

Usage

wsigma(z, g = NULL, omega = NULL, tau = NULL)

Arguments

z

a complex number, vector or matrix

g

the elliptic invariants, a vector of two complex numbers; only one of g, omega and tau must be given

omega

the half-periods, a vector of two complex numbers; only one of g, omega and tau must be given

tau

the half-periods ratio; supplying tau is equivalent to supply omega = c(1/2, tau/2)

Value

A complex number, vector or matrix.

Examples

wsigma(1, g = c(12, -8))
# should be equal to:
sin(1i*sqrt(3))/(1i*sqrt(3)) / sqrt(exp(1))

jacobi documentation built on Nov. 19, 2023, 1:08 a.m.