poly

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fit

func Fit(x, y []float64, order int) ([]float64, error)

Fit fits a polynomial of order order on input data represented by x and y. http://www.math.iit.edu/~fass/matlab/html/LSQquadQR.html

func Val

func Val(p, x []float64) []float64

Val evaluates input x over polynomial p. p is written with higher orders first.

Types

This section is empty.

Jump to

Keyboard shortcuts

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