bspline

package
v0.0.0-...-f5958bd Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BSpline

type BSpline interface {
	At(x float64) float64
	Knots() knot.Knot
	Order() int
	SetCoef(idx int, v float64)
	GetCoef(idx int) float64
	GetBSpline(idx int) BSplineFunc
}

BSpline BSpline represents a function that implements B-Spline.

func NewBSplineSimple

func NewBSplineSimple(order int, knot knot.Knot, coef []float64) BSpline

type BSplineFunc

type BSplineFunc interface {
	Evaluate(float64) float64
}

Jump to

Keyboard shortcuts

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