polyring

package
v0.0.0-...-09d2262 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LagrangeInterpolate

func LagrangeInterpolate(degree int, x []bls.Fr, y []bls.Fr) []bls.Fr

LagrangeInterpolate returns a polynomial of specified degree that pass through all points in x and y

func NewRandPoly

func NewRandPoly(deg int) []bls.Fr

Types

type PolyPoint

type PolyPoint struct {
	X       int
	Y       bls.Fr
	PolyWit bls.G1Point
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL