symbolic-base-0.1.0.0: ZkFold Symbolic compiler and zero-knowledge proof protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZkFold.Base.Algorithm.ReedSolomon

Documentation

numberOfError :: forall n k. (KnownNat n, KnownNat k) => Natural Source #

generator :: (Field a, Eq a) => Int -> a -> Poly a Source #

encode :: (Field c, Eq c) => [c] -> c -> Int -> Poly c Source #

decode :: (Field c, Eq c) => Poly c -> c -> Int -> Int -> Poly c Source #

berlekamp :: forall c. (Field c, Eq c) => Poly c -> Int -> (Integer, Poly c) Source #

scalarN :: Semiring c => Int -> Int -> Vector c -> Vector c -> c Source #

diff :: (Field c, Eq c) => Poly c -> Poly c Source #