Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DzananGanic/numericalgo
/ types & classes
Types & classes
13 in github.com/DzananGanic/numericalgo
⨍
Functions
103
◇
Types & classes
13
Struct
Base
Base type provides the base functionality for any interpolation type
interpolate/base.go:10
Struct
CoordinatePair
CoordinatePair is a struct type with two properties, X and Y coordinates
coordinate_pair.go:8
Struct
Exponential
Exponential type fits two vectors x and y, finds the appropriate coefficients and predicts the value such that y=p*e^(q*x) is the best approximation o
fit/exponential/exponential.go:8
Struct
Lagrange
Lagrange provides the basic functionality for lagrange interpolation. Given X and Y float64 slices, it can estimate the value of the function at the d
interpolate/lagrange/lagrange.go:11
Struct
Linear
Linear type fits two vectors x and y, finds the appropriate coefficients and predicts the value such that y=p+qx is the best approximation of the give
fit/linear/linear.go:8
Struct
Linear
Linear provides the basic functionality for linear interpolation. Given X and Y float64 slices, it can estimate the value of the function at the desir
interpolate/linear/linear.go:11
TypeAlias
Matrix
Matrix type is the slice of Vectors, with custom methods needed for matrix operations.
matrix.go:7
Struct
Poly
Poly type fits two vectors x and y, finds the appropriate coefficients and predicts the value such that y=p1+p2*x+p3*x^2+...+p(n+1)*x^n is the best ap
fit/poly/poly.go:10
TypeAlias
Vector
Vector is the []float64 which has custom methods needed for vector operations.
vector.go:9
Interface
interpolator
interpolate/interpolate.go:3
Interface
predictor
fit/fit.go:7
Interface
validateInterpolator
interpolate/interpolate.go:11
Interface
validator
interpolate/interpolate.go:7