19 releases

0.10.8 Nov 6, 2024
0.10.6 Sep 25, 2024
0.10.5 Jun 14, 2024
0.9.0 Nov 29, 2023
0.6.3 Oct 30, 2020

#739 in Math

Download history 1/week @ 2025-08-14 5/week @ 2025-08-21

1,033 downloads per month
Used in eki

MIT license

165KB
4K SLoC

Ostensibly Handy Scientific Library

ohsl is a collection of numerical routines and mathematical types for use in scientific computing.


OHSL

ohsl (ostensibly handy scientific library) is a collection of numerical routines written in Rust. The library includes routines in the following areas:

  • Complex numbers
  • Quaternions
  • Hyperreal numbers
  • Special functions
  • Numerical differentiation
  • Numerical integration
  • Vectors
  • Matrices
  • Linear algebra
  • Polynomials
  • Root finding
  • Eigensystems
  • Sparse linear algebra
    • Tridiagonal matrices
    • Banded matrices
    • Sparse matrices
  • Sparse eigensystems
  • Differential equations
  • Chebyshev approximation
  • Ordinary differential equations
    • Initial value problems
    • Boundary value problems

Command line

cargo test to run tests

cargo run --example [name of example] to run a specified example

cargo doc to generate documentation

Dependencies

~315–425KB