Factor.Nfzw
Description
data Nfzw Source #
Constructors
Defined in Factor.Nfzw
Methods
(==) :: Nfzw -> Nfzw -> Bool #
(/=) :: Nfzw -> Nfzw -> Bool #
compare :: Nfzw -> Nfzw -> Ordering #
(<) :: Nfzw -> Nfzw -> Bool #
(<=) :: Nfzw -> Nfzw -> Bool #
(>) :: Nfzw -> Nfzw -> Bool #
(>=) :: Nfzw -> Nfzw -> Bool #
max :: Nfzw -> Nfzw -> Nfzw #
min :: Nfzw -> Nfzw -> Nfzw #
showsPrec :: Int -> Nfzw -> ShowS #
show :: Nfzw -> String #
showList :: [Nfzw] -> ShowS #
valid :: Nfzw -> Bool Source #
filterValidLine :: (Nfzw -> Bool) -> Integer -> [Nfzw] Source #
filterValid :: (Nfzw -> Bool) -> [Nfzw] Source #
zero :: Nfzw Source #
isZero :: Nfzw -> Bool Source #
negate :: Nfzw -> Nfzw Source #
toInteger :: Integer -> Nfzw -> Integer Source #
norm :: Zx -> Nfzw -> Integer Source #
type Ideal = (Gfp, Prime) Source #
ideals :: Zx -> [Ideal] Source #
inIdeal :: Nfzw -> Ideal -> Bool Source #
factor :: Zx -> [Ideal] -> Nfzw -> ([(Ideal, Integer)], Integer) Source #