package reedsolomon

  1. Overview
  2. Docs

builds log/antilog table representation over any field representation

Parameters

module G : Generator

Signature

include Ops.OpsBase with type t = G.Ops.t
type t = G.Ops.t
val zero : t
val one : t
val (+:) : t -> t -> t
val (-:) : t -> t -> t
val to_string : t -> string
val alpha : t

primitive element

val n_elems : int

number of elements in field

val log : t -> int

log x = b when alpha^b = x

val antilog : int -> t

inverse log

val (*:) : t -> t -> t

multiplication

val (/:) : t -> t -> t

division

val (**:) : t -> int -> t

power

val inv : t -> t

inverse

OCaml

Innovation. Community. Security.