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.

Checked · Sources

Downloads
31
Dependents
0
Stars
11
Forks
0
Contributors
1
Commits
222
Latest release
0.3.1 ·

About

From the project README ·

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 F32 only.

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
FeatureDescriptionDefault
graphGraph algorithms module. Enables sparse.✓
pdePDE module. Enables sparse.✓
sparseSparse tensor support through numr/sparse✗
cudaCUDA backend through numr/cuda✗
wgpuWebGPU backend through numr/wgpu✗
f16Half-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

ModuleContents
signalConvolution, correlation, STFT and inverse STFT, spectrograms, spectral analysis, N-D filters, edge operations
windowWindow generators: Hann, Hamming, Blackman, Kaiser, and related windows
interpolate1D and N-D interpolation, splines, PCHIP, Akima, RBF, geometric transforms
optimizeScalar optimization, root finding, minimization, least squares, LP, QP, conic, global methods
integrateNumerical quadrature and ODE, DAE, and BVP solvers
statsDistributions, descriptive statistics, hypothesis tests, regression, information metrics
spatialKDTree, BallTree, distances, convex hull, Delaunay, Voronoi, rotations, mesh operations, distance transforms
morphologyBinary and grayscale morphology, connected-region labeling, region measurements
clusterk-means family, DBSCAN, OPTICS, HDBSCAN, GMM and Bayesian GMM, hierarchical, spectral
linalgMatrix-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 areasolvr module(s)
scipy.signalsignal, window
scipy.ndimagesignal (N-D filters, edge operations), morphology, spatial (distance transform), interpolate (geometric transforms)
scipy.interpolateinterpolate
scipy.optimizeoptimize
scipy.integrateintegrate
scipy.statsstats
scipy.spatialspatial
scipy.clustercluster
scipy.sparse.csgraphgraph (feature-gated)
scipy.linalglinalg

The Stack

  • numr: tensors, FFT, linear algebra, and the Runtime abstraction.
  • 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.

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.

solvr beside the projects that share a topic with it
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
solvr This page 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.

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 days
  • dormancy: last activity 2026-11-06, 3 days ago, E = 365: active
  • featured: 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
Adoption0 active dependents, 0 new dependents in 365 days1 not measured
Adoption measurements
SignalValueSourceFetchedCounts
Active dependents0crates.io database dumpYes
New dependents (365 days)0crates.io database dumpYes
Peak active dependents0crates.io database dumpYes
Active dependents as a share of the peak1crates.io database dumpYes
Binary downloads per releaseNot measuredYes
MaintenanceLatest human commit: 3 days ago3 not measured
Maintenance measurements
SignalValueSourceFetchedCounts
Latest human commit2026-11-06GitHub repositoryYes
Latest release2026-11-06crates.io database dumpYes
First release2026-02-09crates.io database dumpYes
Latest version0.3.1crates.io database dumpYes
Days the oldest outside issue waits for a reply0GitHub repositoryYes
Maintainer replies over 365 days0GitHub repositoryYes
Repository archivedfalseGitHub repositoryYes
Repository gonefalseGitHub repositoryYes
Release commit or manifest in the repotruecrates.io packageYes
Published docstruecrates.io database dumpYes
Latest release fails cargo checkNot measuredYes
Build check dateNot measuredYes
Build check toolchainNot measuredYes
SecurityUnpatched vulnerabilities: none
Security measurements
SignalValueSourceFetchedCounts
Unpatched vulnerabilities past the grace windownoneRustSec advisory databaseYes
RustSec unmaintained advisorynoneRustSec advisory databaseYes
Deprecation noticenonecrates.io database dumpYes
Deprecated requirementnonecrates.io database dumpYes
Distribution4 releases, 31 downloads over 30 days5 not measured
Distribution measurements
SignalValueSourceFetchedCounts
Releases4crates.io database dumpYes
Downloads over 30 days31crates.io database dumpYes
Binary downloads over the last 3 releasesNot measuredYes
Homebrew installs on request over 365 daysNot measuredYes
Repology repository familiesNot measuredYes
Docker pull growth over 90 daysNot measuredYes
Docker pulls at the growth baselineNot measuredYes
Every version a prereleasefalsecrates.io database dumpYes
Every version 0.0.xfalsecrates.io database dumpYes
Every version yankedfalsecrates.io database dumpYes
Crate deleted from crates.iofalsecrates.io database dumpYes
Repository11 stars, 0 forks, 1 contributors, 222 commits. Stars alone never qualify a project.
Repository measurements
SignalValueSourceFetchedCounts
GitHub stars11GitHub repositoryYes — one part of the repository route
GitHub forks0GitHub repositoryYes — one part of the repository route
Contributors with a GitHub account1GitHub contributorsYes — one part of the repository route
Commits on the default branch222GitHub repositoryNo
Repository's main crate left out of the entrynonecrates.io database dumpYes
Facts that never count
Facts that never count measurements
SignalValueSourceFetchedCounts
LicenseApache-2.0crates.io database dumpNo
Runs on, from listed crates and their direct dependenciesCUDA, WebGPUcrates.io database dumpNo
What shows each backendCUDA: solvr feature cuda; WebGPU: solvr feature wgpucrates.io database dumpNo
Native code, from listed crates and their dependenciesNo native code foundcrates.io database dumpNo
Python bindings, from direct dependencies of listed cratesNo Python binding crate foundcrates.io database dumpNo
Crates that depend on a listed crate directly0crates.io database dumpNo

Corrections and review history

Report a correction

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.