package octez-libs
include module type of struct include Octez_bls12_381_polynomial.Domain end
type scalar = Octez_bls12_381_polynomial.scalar
type t = Octez_bls12_381_polynomial.Domain.t
val length : t -> int
length p
returns the length of a given array p
val primitive_root_of_unity : int -> scalar
primitive_root_of_unity n
returns a primitive n
-th root of unity, provided it exists
build n
computes [one; g; ..; g^{n-1}]
where g
is a primitive n
-th root of unity
build_power_of_two log
computes [one; g; ..; g^{n-1}]
where g
is a primitive n
-th root of unity and n = 2^log
val encoding : Octez_bls12_381_polynomial.Domain.t Data_encoding.encoding
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>