Popularity
2.3
Declining
Activity
4.5
Growing
26
6
3
Programming language: Go
License: MIT License
Latest version: v2.0.5
piecewiselinear alternatives and similar packages
Based on the "Science and Data Analysis" category.
Alternatively, view piecewiselinear alternatives based on common mentions on social networks and blogs.

gonum
Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more 
gosl
Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations. 
gonum/mat64
DISCONTINUED. The general purpose package for matrix computation. Package mat64 provides basic linear algebra operations for float64 matrices. 
TextRank
:wink: :cyclone: :strawberry: TextRank implementation in Golang with extendable features (summarization, phrase extraction) and multithreading (goroutine). 
sparse
Sparse matrix formats for linear algebra supporting scientific and machine learning applications 
triangolatte
2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs. 
PiHex
PiHex Library, written in Go, generates a hexadecimal number sequence in the number Pi in the range from 0 to 10,000,000. 
GoStats
GoStats is a go library for math statistics mostly used in ML domains, it covers most of the statistical measures functions. 
mudlarkgo
DISCONTINUED. A collection of packages providing (hopefully) useful code for use in software using Google's Go programming language.
InfluxDB  Power RealTime Data Analytics at Scale
Get realtime insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in realtime with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of piecewiselinear or a related project?
Popular Comparisons
README
piecewiselinear
A tiny library for linear interpolation. O(log(N))
per evaluation for N
control points.
import "github.com/sgreben/piecewiselinear"
Get it
go get u "github.com/sgreben/piecewiselinear"
Use it
import "github.com/sgreben/piecewiselinear"
func main() {
f := piecewiselinear.Function{Y:[]float64{0,1,0}} // range: "hat" function
f.X = piecewiselinear.Span(0, 1, len(f.Y)) // domain: equidistant points along X axis
fmt.Println(
f.At(0), // f.At(x) evaluates f at x
f.At(0.25),
f.At(0.5),
f.At(0.75),
f.At(1.0),
f.At(123.0), // outside its domain X the function is constant 0
f.At(123.0), //
)
// Output:
// 0 0.5 1 0.5 0 0 0
}