lambda: Lambda modular function

View source: R/lambda.R

lambdaR Documentation

Lambda modular function

Description

Evaluation of the lambda modular function.

Usage

lambda(tau, transfo = FALSE)

Arguments

tau

a complex number with strictly positive imaginary part, or a vector or matrix of such complex numbers; missing values allowed

transfo

Boolean, whether to use a transformation of the values of tau close to the real line; using this option can fix some failures of the computation (at the cost of speed), e.g. when the algorithm reaches the maximal number of iterations

Value

A complex number, vector or matrix.

Note

The lambda function is the square of the elliptic modulus.

Examples

x <- 2
lambda(1i*sqrt(x)) + lambda(1i*sqrt(1/x)) # should be one

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