package tezos-plonk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Polynomial.DomainSource

Sourcetype scalar = scalar
Sourcetype t
Sourceval length : t -> int

length p returns the length of a given array p

Sourceval get : t -> int -> scalar

get p i returns the i-th element of a given array p

Sourceval build : log:int -> t

build log computes [one; g; ..; g^{n-1}] where g is a primitive n-th root of unity and n = 2^log

Sourceval subgroup : log:int -> t -> t

subgroup log d returns a subgroup of d of order 2^log

Sourceval inverse : t -> scalar array

inverse d returns for a domain wⁱᵢ its inverse domain w⁻ⁱᵢ

OCaml

Innovation. Community. Security.