https://github.com/urbit/numerics
https://github.com/urbit/numerics
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/urbit/numerics
- Owner: urbit
- Created: 2023-12-15T01:21:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T23:44:47.000Z (5 months ago)
- Last Synced: 2026-01-20T06:07:45.448Z (5 months ago)
- Language: hoon
- Size: 1.17 MB
- Stars: 8
- Watchers: 6
- Forks: 6
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Numerical Libraries for Urbit
**Status ~2026.1.21: Lagoon updated for Vere64 by @matthewlevan; Saloon conversion to Chebyshev basis functions underway by @sigilante.**

This repository organizes the core numerical computing apparatus for Urbit:
- `/lib/math` provides basic single-atom transcendental functions; it supersedes [`sigilante/libmath`](https://github.com/sigilante/libmath).
- [`README.md`](./libmath/README.md)
- Lagoon (Linear AlGebra in hOON) offers operations in the tradition of BLAS and LAPACK (like NumPy's pure matrix operations).
- [`README.md`](./lagoon/README.md)
- `/desk` contains the Hoon-specific code for Lagoon.
- `/lib/lagoon` is the main library for Lagoon operations.
- `/lib/twoc` supports two's-complement signed integers.
- `/lib/fixed` supports fixed-precision operations.
- `/sur/lagoon` supplies type headers for Lagoon.
- `/vere` contains the C jets for the Vere runtime.
- Saloon (Scientific ALgorithms in hOON) affords transcendental functions (like NumPy's transcendental functions, optimizers, etc.).
- [`README.md`](./saloon/README.md)
- `/desk` contains the Hoon-specific code for Saloon.
- Maroon (MAchine LeaRning in hOON) implements machine learning algorithms as a sidecar to Urbit.
- [`README.md`](./maroon/README.md)
- `/desk` contains the Hoon-specific code for Maroon, currently an in-progress tinygrad implementation.
The Urbit Foundation also provides [SoftBLAS](https://github.com/urbit/SoftBLAS) to support software-defined jetting. It is used in the Lagoon jets.