ecdattr: Constructor of 'ecdattr' class for the Elliptic Database...

ecdattrR Documentation

Constructor of ecdattr class for the Elliptic Database (ECDB)

Description

Construct an ecdattr class by providing the required parameters. This object has one-to-one correspondence to the rows in ECDATTR table. This is used primarily as object wrapper for safe update to ECDB.

Usage

ecdattr(alpha, gamma = NaN, cusp = 0, use.mpfr = FALSE)

Arguments

alpha

numeric, must be an integer after multiplied by 1000000.

gamma

numeric, must be an integer after multiplied by 1000000. NaN if cusp is 1.

cusp

numeric, representing type of cusp. Only 0 (default) and 1 are allowed.

use.mpfr

logical, whether to use mpfr for ecd object, default is FALSE.

Value

an object of ecdattr class

Examples

a <- ecdattr(1,1)
b <- ecdattr(alpha=1, cusp=1)


ecd documentation built on May 10, 2022, 1:07 a.m.