# cpmech/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.

Repository: https://github.com/cpmech/gosl
Canonical: https://ross.abutalabs.com/products/gosl
Language: Go
License: BSD-3-Clause
License Family: permissive
Topics: scientific-computing, linear-algebra, differential-equations, sparse-systems, parallel-computations, computational-geometry, fast-fourier-transform, eigenvalues, eigenvectors, optimization, linear-programming, mersenne-twister
Last push: 2025-12-30T00:20:17+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 59, release rhythm 8, longevity 100
- inputs: {"age_days": 4223, "days_push": 247, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1877, forks 148 (observed 2026-08-28T04:05:47.823636+00:00)

## What it is
Gosl is a Go scientific library providing linear algebra, eigenvalue solvers, FFTs, random numbers, probability distributions, optimization, and numerical methods for differential equations. It wraps high-performance C/Fortran libraries such as OpenBLAS, LAPACK, UMFPACK, MUMPS, QUADPACK, and FFTW3 via cgo.

## Use cases
- solve sparse linear systems in Go
- compute eigenvalues and eigenvectors
- run fast Fourier transforms
- generate random numbers from probability distributions
- solve differential equations numerically
- perform numerical quadrature and interpolation
- do linear programming and optimization
- work with NURBS and computational geometry

## When to choose
- you need high-performance numerical computing in Go
- you want battle-tested BLAS/LAPACK-backed linear algebra
- you are building scientific simulations or PDE solvers

## When to avoid
- you need a pure-Go dependency-free library
- your environment cannot build C/Fortran dependencies
- you only need simple math without native library overhead

## Facets
- artifact type: library
- maturity: active
- function: math, machine-learning, simulation
- domain: mathematics
- platform: go, windows
- tags: linear-algebra, fft, eigenvalues, numerical-methods, sparse-solvers, random-numbers, optimization, differential-equations, computational-geometry, cgo, scientific-computing, algorithms, linux, macos, docker

## Member repositories
- cpmech/gosl (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.823636+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:42.166663+00:00, confidence not recorded.
  - readme: https://github.com/cpmech/gosl (fetched 2026-08-28T04:05:47.823636+00:00, sha 95bdf551afca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
