solve.ecd: Solve the elliptic curve y(x)

solve.ecdR Documentation

Solve the elliptic curve y(x)

Description

Solve the elliptic curve y(x) by constructing a cubic polynomial from ecd object. Then solve it and take the smallest real root.

Usage

## S3 method for class 'ecd'
solve(a, b, ...)

## S4 method for signature 'ecd'
solve(a, b, ...)

Arguments

a

An object of ecd class

b

A vector of x values

...

Not used. Only here to match the generic signature.

Value

A vector of roots for y(x)

Examples

d <- ecd()
x <- seq(-100,100,by=0.1)
y <- solve(d,x)


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