Back to

Package gorbi

Latest Go to latest

The highest tagged major version is .

Published: May 13, 2019 | License: MIT | Module:


func Cdist

func Cdist(xa, xb [][]float64) [][]float64

func EuclideanDist

func EuclideanDist(pa, pb []float64) float64

eucleanDist calculates the euclatean distance between two points in R^n space

func HypercubeDims

func HypercubeDims(xs [][]float64) []float64

Calculates the dimensions of an hypercube which contains all points

type RBF

type RBF struct {
	// contains filtered or unexported fields

Radial basis interpolator

func NewRBF

func NewRBF(args [][]float64, values []float64) (RBF, error)

Constructor for the radial basis interpolator.

func (*RBF) At

func (rbf *RBF) At(xs [][]float64) []float64

Get the interpolated value at the given coordinate

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier