package octez-libs
include Domain.Domain_sig with type scalar = scalar
type scalar = scalar
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 to_carray :
t ->
Octez_bls12_381_polynomial__Carray.Make(Octez_bls12_381_polynomial__.Fr_carray.Elt).t
to_carray d
converts d
from type t
to type Fr_carray.t
Note: to_carray d
doesn't create a copy of d
val of_carray :
Octez_bls12_381_polynomial__Carray.Make(Octez_bls12_381_polynomial__.Fr_carray.Elt).t ->
t
of_carray d
converts d
from type Fr_carray.t
to type t
Note: of_carray d
doesn't create a copy of d
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>