Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Curve
- class (GaloisField q, PrimeField r, Curve Weierstrass c e q r) => WCurve c e q r where
- type WPoint = Point Weierstrass
- class WCurve Affine e q r => WACurve e q r where
- type WAPoint = WPoint Affine
- class WCurve Jacobian e q r => WJCurve e q r where
- type WJPoint = WPoint Jacobian
- class WCurve Projective e q r => WPCurve e q r where
- type WPPoint = WPoint Projective
Documentation
module Data.Curve
Weierstrass curves
class (GaloisField q, PrimeField r, Curve Weierstrass c e q r) => WCurve c e q r where Source #
Weierstrass curves.
Instances
type WPoint = Point Weierstrass Source #
Weierstrass points.
Weierstrass affine curves
class WCurve Affine e q r => WACurve e q r where Source #
Weierstrass affine curves y^2 = x^3 + Ax + B
.
Instances
Weierstrass Jacobian curves
class WCurve Jacobian e q r => WJCurve e q r where Source #
Weierstrass Jacobian curves y^2 = x^3 + Ax + B
.
Instances
Weierstrass projective curves
class WCurve Projective e q r => WPCurve e q r where Source #
Weierstrass projective curves y^2 = x^3 + Ax + B
.
Instances
type WPPoint = WPoint Projective Source #
Weierstrass projective points.