#testing #numeric #scipy

scir-core

SciR core utilities: numeric tolerances, complex helpers, and shared test macros for the SciR ecosystem (SciPy rebuilt for Rust)

2 releases

0.3.2 Sep 11, 2025
0.3.0 Sep 10, 2025

#1998 in Math

MIT license

9KB
115 lines

Core utilities for SciR.

This crate provides shared numeric helpers and the assert_close! macro used across SciR crates to compare floating‑point (real/complex) values within absolute/relative tolerances.


scir-core

Overview

  • Core utilities for SciR (SciPy rebuilt for Rust): numeric tolerance helpers, complex number utilities, and a reusable assert_close! macro used across crates.

Highlights

  • Consistent floating-point comparison via assert_close! for slices and ndarray arrays (real and complex).
  • Minimal, battle-tested building blocks shared by scir-fft, scir-signal, scir-optimize, and others.

Links

Dependencies

~1.5MB
~28K SLoC