factor-1.5: Factoring integers and polynomials
Safe HaskellSafe-Inferred
LanguageHaskell2010

Factor.Ec

Description

 

Documentation

data Curve Source #

Constructors

Curve 

Fields

Instances

Instances details
Eq Curve Source # 
Instance details

Defined in Factor.Ec

Methods

(==) :: Curve -> Curve -> Bool #

(/=) :: Curve -> Curve -> Bool #

Ord Curve Source # 
Instance details

Defined in Factor.Ec

Methods

compare :: Curve -> Curve -> Ordering #

(<) :: Curve -> Curve -> Bool #

(<=) :: Curve -> Curve -> Bool #

(>) :: Curve -> Curve -> Bool #

(>=) :: Curve -> Curve -> Bool #

max :: Curve -> Curve -> Curve #

min :: Curve -> Curve -> Curve #

Show Curve Source # 
Instance details

Defined in Factor.Ec

Methods

showsPrec :: Int -> Curve -> ShowS #

show :: Curve -> String #

showList :: [Curve] -> ShowS #

data Point Source #

Constructors

Point 

Fields

Infinity 

Instances

Instances details
Eq Point Source # 
Instance details

Defined in Factor.Ec

Methods

(==) :: Point -> Point -> Bool #

(/=) :: Point -> Point -> Bool #

Ord Point Source # 
Instance details

Defined in Factor.Ec

Methods

compare :: Point -> Point -> Ordering #

(<) :: Point -> Point -> Bool #

(<=) :: Point -> Point -> Bool #

(>) :: Point -> Point -> Bool #

(>=) :: Point -> Point -> Bool #

max :: Point -> Point -> Point #

min :: Point -> Point -> Point #

Show Point Source # 
Instance details

Defined in Factor.Ec

Methods

showsPrec :: Int -> Point -> ShowS #

show :: Point -> String #

showList :: [Point] -> ShowS #

uniformCurve :: RandomGen r => Prime -> r -> ((Curve, Point), r) Source #

uniformPoint :: RandomGen r => Curve -> r -> (Point, r) Source #

data Config Source #

Constructors

Config 

Instances

Instances details
Eq Config Source # 
Instance details

Defined in Factor.Ec

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Ord Config Source # 
Instance details

Defined in Factor.Ec

Show Config Source # 
Instance details

Defined in Factor.Ec

data End Source #

Constructors

End Gfpx Gfpx 

Instances

Instances details
Eq End Source # 
Instance details

Defined in Factor.Ec

Methods

(==) :: End -> End -> Bool #

(/=) :: End -> End -> Bool #

Ord End Source # 
Instance details

Defined in Factor.Ec

Methods

compare :: End -> End -> Ordering #

(<) :: End -> End -> Bool #

(<=) :: End -> End -> Bool #

(>) :: End -> End -> Bool #

(>=) :: End -> End -> Bool #

max :: End -> End -> End #

min :: End -> End -> End #

Show End Source # 
Instance details

Defined in Factor.Ec

Methods

showsPrec :: Int -> End -> ShowS #

show :: End -> String #

showList :: [End] -> ShowS #