Popularity
0.6
Growing
Activity
1.6
Growing
4
1
0
Programming language: Go
Latest version: v0.2.3
gobbs alternatives and similar packages
Based on the "Science and Data Analysis" category

gonum
Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more. 
gosl
Go scientific library for linear algebra, FFT, geometry, NURBS, numerical methods, probabilities, optimisation, differential equations, and more. 
gonum/mat64
The general purpose package for matrix computation. Package mat64 provides basic linear algebra operations for float64 matrices. 
TextRank
TextRank implementation in Golang with extendable features (summarization, weighting, phrase extraction) and multithreading (goroutine) support. 
sparse
Go Sparse matrix formats for linear algebra supporting scientific and machine learning applications, compatible with gonum matrix libraries. 
vectormath
Vectormath for Go, an adaptation of the scalar C functions from Sony's Vector Math library, as found in the Bullet2.79 source code. (currently inactive) 
ode
An ordinary differential equation (ODE) solver which supports extended states and channelbased iteration stop conditions. 
triangolatte
2D triangulation library. Allows translating lines and polygons (both based on points) to the language of GPUs. 
GoStats
GoStats is an Open Source GoLang library for math statistics mostly used in Machine Learning domains, it covers most of the Statistical measures functions. 
mudlarkgo
A collection of packages providing (hopefully) useful code for use in software using Google's Go programming language. 
calendarheatmap
Calendar heatmap in plain Go inspired by Github contribution activity.
Do you think we are missing an alternative of gobbs or a related project?
Popular Comparisons
README
gobbs
A BlumBlumShubGenerator in Go.
Status
Testing
Usage
Create a new generator with default config:
import "github.com/tsdtsdtsd/gobbs"
g, err := gobbs.New()
New()
will generate two random blum primes, a blum integer and a random seed. If you want to use your own numbers from an other source, you can use NewWithConfig()
:
g, err := gobbs.NewWithConfig(&gobbs.Config{
PrimeP: myPrimeOne,
PrimeQ: myPrimeTwo,
Seed: mySeed,
Bits: 1024,
})
The generator implements io.Reader
:
buf := make([]byte, 1)
for {
g.Read(buf)
fmt.Printf("%02x.", buf)
}
Benchmarks
bits = 1024
readLength = 512
> go test bench=. benchmem count 3
goos: windows
goarch: amd64
pkg: github.com/tsdtsdtsd/gobbs
BenchmarkInit8 10 298040350 ns/op 2540071 B/op 8105 allocs/op
BenchmarkInit8 3 399833433 ns/op 3571288 B/op 11109 allocs/op
BenchmarkInit8 5 297086520 ns/op 2594611 B/op 8185 allocs/op
BenchmarkRead8 50 37528676 ns/op 9440499 B/op 16393 allocs/op
BenchmarkRead8 50 37291990 ns/op 9440641 B/op 16394 allocs/op
BenchmarkRead8 50 38036620 ns/op 9440500 B/op 16393 allocs/op
PASS
ok github.com/tsdtsdtsd/gobbs 13.857s
Credits
Heavily inspired by (basically a port of) https://github.com/foolean/blumblumshub