package octez-bls12-381-polynomial

  1. Overview
  2. Docs
type scalar = Bls12_381.Fr.t
type t = Fr_carray.t
val t : Fr_carray.t Repr.t
val of_carray : 'a -> 'a
val to_carray : 'a -> 'a
val of_array : Fr_carray.elt array -> Fr_carray.t
val to_array : Fr_carray.t -> Fr_carray.elt array
val length : Fr_carray.t -> int
val get : Fr_carray.t -> int -> Fr_carray.elt
val create : int -> Stubs.fr -> Fr_carray.t
val primitive_root_of_unity : int -> Octez_bls12_381_polynomial.Fr_carray.Scalar.t
val build : ?primitive_root:Octez_bls12_381_polynomial.Fr_carray.Scalar.t -> int -> Fr_carray.t
val build_power_of_two : ?primitive_root:Octez_bls12_381_polynomial.Fr_carray.Scalar.t -> int -> Fr_carray.t
val subgroup : log:int -> Fr_carray.t -> Fr_carray.t
val inverse : Fr_carray.t -> Fr.t array
OCaml

Innovation. Community. Security.