PiHex alternatives and similar packages
Based on the "Science and Data Analysis" category.
Alternatively, view PiHex 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. 
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.
CodeRabbit: AI Code Reviews for Developers
Do you think we are missing an alternative of PiHex or a related project?
Popular Comparisons
README
PiHex
PiHex Library generates a hexadecimal number sequence in the number Pi in the range from 0 to 1.0e10000000. To calculate using "BaileyBorweinPlouffe" algorithm, instructions that was published by David H. Bailey September 17, 2006.
Usage
An example of using the PiHex Library:
package main
import (
"fmt"
"github.com/claygod/PiHex"
)
func main() {
pi := PiHex.New()
fmt.Print("The first 9 digits of Pi (hexadecimal): ", pi.Get(0, 9))
}
Settings
In the configuration file, you can change the constant STEP. This constant determines the amount generated in one step numbers. The reduction leads to a constant increase in the operating time of the program.
Attention! This constant can not be more than 9! Limitation due to the 64bit library architecture.
The configuration file config.go
Perfomance
To optimize the runtime program, highly loaded sections of the library are performed in parallel (4 goroutines).
API
Methods:
 New  create a new PiHex
 Get  receiving a sequence of hexadecimal digits starting at the specified position and in the right quantity.
Example:
pi := PiHex.New()
x := pi.Get(1000, 5)
Algorithm
The Baileyâ€“Borweinâ€“Plouffe formula (BBP formula) is a spigot algorithm for computing the nth binary digit of Pi using base 16 math. The formula can directly calculate the value of any given digit of Ď€ without calculating the preceding digits. The BBP is a summationstyle formula that was discovered in 1995 by Simon Plouffe and was named after the authors of the paper in which the formula was published, David H. Bailey, Peter Borwein, and Simon Plouffe.
Implementation
Plays Library is based on the publication "The BBP Algorithm for Pi" of David H. Bailey on September 17, 2006: http://www.davidhbailey.com/dhbpapers/bbpalg.pdf
Copyright Â© 20172020 Eduard Sesigin. All rights reserved. Contacts: [email protected]