ZkFold.Base.Algorithm.ReedSolomon
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 #