package reedsolomon

  1. Overview
  2. Docs
include Ops.OpsBase with type t = int array
type t = int array
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