solvr
Library Listed
Scientific computing on numr, in the role SciPy has in Python, with a module map for SciPy users: optimization, ODE, DAE and PDE solvers, interpolation, statistics, signal processing, spatial algorithms and clustering.
- Downloads
- 31
- Dependents
- 0
- Stars
- 11
- Forks
- 0
- Contributors
- 1
- Commits
- 222
- Latest release
- 0.3.1 ·
About
Scientific computing in Rust. Write once. Run on any backend.
Optimization, ODE, DAE, and PDE solvers, interpolation, statistics, signal processing, and spatial algorithms, built on numr. The crate exposes 13 public modules.
Docs · Crate · Modules · Example · Contributing
solvr is a scientific computing library for Rust. It fills the role SciPy has in Python: optimization, ODE solvers, interpolation, statistics, signal processing, and spatial algorithms. It provides these algorithms on numr tensors and runtimes. The CPU backend is the default. CUDA and WebGPU are optional features.
- The algorithms are written in Rust. No Python is needed.
- solvr builds on numr, which is the NumPy role. See For SciPy Users for the module map.
- Not supported yet: WebGPU computes in
F32only.
Installation
Add solvr and numr. The examples create numr devices and clients.
cargo add solvr numr
For GPU backends, enable the matching feature:
cargo add solvr --features cuda # NVIDIA GPUs, CUDA 12.8+ or 13.x
cargo add solvr --features wgpu # WebGPU
Feature Flags
Default features: graph, pde.
Read the full README
| Feature | Description | Default |
|---|---|---|
graph | Graph algorithms module. Enables sparse. | ✓ |
pde | PDE module. Enables sparse. | ✓ |
sparse | Sparse tensor support through numr/sparse | ✗ |
cuda | CUDA backend through numr/cuda | ✗ |
wgpu | WebGPU backend through numr/wgpu | ✗ |
f16 | Half-precision support through numr/f16 | ✗ |
WebGPU computes in F32 only. The CUDA backend needs the CUDA toolchain that numr requires.
Quick Start
use numr::dtype::DType;
use numr::ops::RandomOps;
use numr::runtime::RuntimeClient;
use numr::runtime::cpu::{CpuClient, CpuDevice};
use solvr::signal::{ConvMode, ConvolutionAlgorithms};
use solvr::window::WindowFunctions;
fn main() -> solvr::Result<()> {
let device = CpuDevice::new();
let client = CpuClient::new(device.clone());
// Create a Hann window
let _window = client.hann_window(256, DType::F32, &device)?;
// Convolve two random signals
let signal = client.randn(&[256], DType::F32)?;
let kernel = client.randn(&[32], DType::F32)?;
let _result = client.convolve(&signal, &kernel, ConvMode::Same)?;
Ok(())
}
The algorithm calls stay the same on any backend that implements the operation. Only the device and client types change.
Module Catalog
| Module | Contents |
|---|---|
signal | Convolution, correlation, STFT and inverse STFT, spectrograms, spectral analysis, N-D filters, edge operations |
window | Window generators: Hann, Hamming, Blackman, Kaiser, and related windows |
interpolate | 1D and N-D interpolation, splines, PCHIP, Akima, RBF, geometric transforms |
optimize | Scalar optimization, root finding, minimization, least squares, LP, QP, conic, global methods |
integrate | Numerical quadrature and ODE, DAE, and BVP solvers |
stats | Distributions, descriptive statistics, hypothesis tests, regression, information metrics |
spatial | KDTree, BallTree, distances, convex hull, Delaunay, Voronoi, rotations, mesh operations, distance transforms |
morphology | Binary and grayscale morphology, connected-region labeling, region measurements |
cluster | k-means family, DBSCAN, OPTICS, HDBSCAN, GMM and Bayesian GMM, hierarchical, spectral |
linalg | Matrix-equation solvers (Lyapunov, Riccati, Sylvester), sparse QR, advanced linear algebra helpers |
graph (feature graph) | Shortest paths, connectivity, centrality, MST, flow, graph matrix algorithms |
pde (feature pde) | Finite-difference, finite-element, and spectral PDE tooling |
The full algorithm list for each module is in docs/modules.md.
The crate re-exports Tensor, Runtime, RuntimeClient, DType, Result, and Error from numr.
For SciPy Users
| SciPy area | solvr module(s) |
|---|---|
scipy.signal | signal, window |
scipy.ndimage | signal (N-D filters, edge operations), morphology, spatial (distance transform), interpolate (geometric transforms) |
scipy.interpolate | interpolate |
scipy.optimize | optimize |
scipy.integrate | integrate |
scipy.stats | stats |
scipy.spatial | spatial |
scipy.cluster | cluster |
scipy.sparse.csgraph | graph (feature-gated) |
scipy.linalg | linalg |
The Stack
- numr: tensors, FFT, linear algebra, and the
Runtimeabstraction. - solvr: scientific and numerical algorithms built on numr.
- boostr: ML primitives built on numr.
Contributing
Contributions are welcome. See CONTRIBUTING.md for conventions and checks.
Questions and design discussion happen on Discord.
License
Licensed under Apache-2.0. See LICENSE.
Compatibility
- Runs on
- CUDA, WebGPU
What shows it
- CUDA: solvr feature cuda
- WebGPU: solvr feature wgpu
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- Apache-2.0
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
Scientific computing on numr, in the role SciPy has in Python, with a module map for SciPy users: optimization, ODE, DAE and PDE solvers, interpolation, statistics, signal processing, spatial algorithms and clustering. |
31 downloads over 30 days | 0 | 11 | 0.3.1 | CUDA, WebGPU | No native code found | Apache-2.0 |
|
peroxide Listed
Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with familiar syntax Python bindings |
56,548 downloads over 30 days | 9 | 732 | 0.43.1 | GPU support unknown | Binds native code: openblas-src (feature O3-openblas-system), blas-sys (feature O3), hdf5-metno-sys (feature nc), lapack-sys (feature O3), libz-sys (feature nc) and 1 more | Apache-2.0 OR MIT |
|
basin Listed
Numerical optimization in pure Rust, with pluggable linear-algebra backends and WASM support. |
22,519 downloads over 30 days | 9 | 128 | 3.2.0 | GPU support unknown | Binds native code: blas-sys (feature nalgebra_latest-lapack), lapack-sys (feature nalgebra_latest-lapack) | Apache-2.0 OR MIT |
|
numr Listed
The base for numerical code in Rust, in the role NumPy has in Python: n-dimensional tensors, linear algebra, FFT, statistics and autograd on CPU, CUDA and WebGPU. The backends use native kernels, with no cuBLAS, MKL or other vendor math library. |
1,673 downloads over 30 days | 7 | 59 | 0.15.2 | CUDA, WebGPU | Binds native code: ring (feature distributed) | Apache-2.0 |
|
scirs Listed
A Rust port of SciPy with AI/ML extensions - Scientific Computing and AI Library (scirs2) Python bindings |
117 downloads over 30 days | 198 | 306 | 0.6.5 | CUDA, WebGPU, Metal, ROCm, Vulkan | Binds native code: perf-event-open-sys (feature profiling_perf). Build uses a native toolchain: cc (feature c-opt) | Apache-2.0 |
|
pounce New
Single-crate facade for POUNCE from Rust: re-exports the TNLP trait, the IpoptApplication driver, and the supporting types in one place (plus a prelude), with feature-gated modules for the convex/LP/QP, active-set QP, and sensitivity paths. |
2,486 downloads over 30 days | 9 | 81 | 0.16.0 | GPU support unknown | Binds native code: pounce-hsl (feature ma57) | EPL-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 0 active dependents and 0 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 11 stars, 0 forks and 1 contributor. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 6 Nov 2026, 3 days ago. The rules expect an update within 365 days. Dormancy rule
Check notes
- the latest release was packaged from a dirty working tree
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.3.1 base 300, capped at 4 releases = 200, raised to the 365-day floor: E = 365 daysdormancy: last activity 2026-11-06, 3 days ago, E = 365: activefeatured: not featured: active_users 0 < 11 and new_adopters 0 < 9 and repository route stars 11 (needs 4539), forks 0 (needs 434), contributors 1 (needs 79)listed: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: written for the catalogue
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption0 active dependents, 0 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 0 | crates.io database dump | Yes | |
| New dependents (365 days) | 0 | crates.io database dump | Yes | |
| Peak active dependents | 0 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 3 days ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-11-06 | GitHub repository | Yes | |
| Latest release | 2026-11-06 | crates.io database dump | Yes | |
| First release | 2026-02-09 | crates.io database dump | Yes | |
| Latest version | 0.3.1 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 0 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 0 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution4 releases, 31 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 4 | crates.io database dump | Yes | |
| Downloads over 30 days | 31 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository11 stars, 0 forks, 1 contributors, 222 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 11 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 0 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 1 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 222 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | Apache-2.0 | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | CUDA, WebGPU | crates.io database dump | No | |
| What shows each backend | CUDA: solvr feature cuda; WebGPU: solvr feature wgpu | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 0 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.