lagrange

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package lagrange provides Lagrange interpolation utilities over finite fields and modules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasisAt

func BasisAt[FE algebra.FiniteFieldElement[FE]](xs []FE, at FE) (*polynomials.Polynomial[FE], error)

func InterpolateAt

func InterpolateAt[FE algebra.FiniteFieldElement[FE]](nodes, values []FE, at FE) (FE, error)

func InterpolateInExponentAt

func InterpolateInExponentAt[C algebra.ModuleElement[C, S], S algebra.FiniteFieldElement[S]](
	module algebra.FiniteModule[C, S],
	nodes []S,
	values []C,
	at S,
) (C, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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