math

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBaseElement

func CheckBaseElement[E BaseElement](element E, curveID mathlib.CurveID) (err error)

func CheckElement

func CheckElement[E Element](element E, curveID mathlib.CurveID) (err error)

func CheckElements

func CheckElements[E Element](elements []E, curveID mathlib.CurveID, length uint64) error

func CheckZrElements

func CheckZrElements[E BaseElement](elements []E, curveID mathlib.CurveID, length uint64) error

Types

type BaseElement

type BaseElement interface {
	CurveID() mathlib.CurveID
}

type Element

type Element interface {
	BaseElement
	IsInfinity() bool
}

Jump to

Keyboard shortcuts

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