Learn R Programming

ecd (version 0.6.4)

solve.ecd: 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

"solve"(a, b, ...)
"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

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

Run the code above in your browser using DataLab