p1.tau: Does the right thing when calling g2.fun() and g3.fun()

Description Usage Arguments Details Value Author(s) Examples

Description

Takes vectors and interprets them appropriately for input to g2.fun() and g3.fun(). Not really intended for the end user.

Usage

1
p1.tau(b)

Arguments

b

Vector of periods

Details

If b is of length two, interpret the elements as omega1 and omega2 respectively.

If a two-column matrix, interpret the columns as omega1 and omega2 respectively.

Otherwise, interpret as a vector of tau=omega1/omega2.

Value

Returns a two-component list:

p1

First period

tau

Period ratio

Author(s)

Robin K. S. Hankin

Examples

1
 p1.tau(c(1+1i,1.1+23.123i))

Example output

Attaching package: 'elliptic'

The following objects are masked from 'package:stats':

    sd, sigma

The following object is masked from 'package:base':

    is.primitive

$p1
[1] 1+1i

$tau
[1] 12.1115+11.0115i

elliptic documentation built on May 2, 2019, 9:37 a.m.