Skip to main content

RMath Logo

RMath: Silicon-Speed Numerical Computing for Python

CI & Publish License: MIT

RMath is a high-performance numerical toolkit backed by a high-concurrency Rust engine. It provides NumPy-equivalent APIs with significant speedups in multi-threaded environments, leveraging Rayon for data-parallelism and PyO3 for zero-overhead FFI.

🚀 Why RMath?

  • Zero-GIL Parallelism: Perform heavy matrix operations and statistical calculations without blocking the Python Global Interpreter Lock.
  • Rust Precision: Built on faer, matrixmultiply, and ndarray for industrial-grade accuracy.
  • Triple-Tier Storage: Automatic selection between Inline-Stack, Heap, and Memory-Mapped storage based on data size.
  • No Compiler Required: Distributed as pre-compiled wheels for all major platforms.

🛠 Features & Modules

1. rmath.array & rmath.vector

Core N-dimensional array processing engine.

import rmath as rm
import rmath.vector as rv

# SIMD-accelerated vector ops
v1 = rv.Vector([1.0, 2.0, 3.0])
v2 = v1.exp().sin() # Parallelized element-wise ops

2. rmath.linalg

Advanced matrix solvers and decompositions.

  • Solvers: LU, QR, Cholesky, and SVD.
  • Inversion: High-speed matrix inversion via partial pivoting.

3. rmath.stats

Real-time descriptive and inferential statistics.

  • Uses Welford’s Algorithm for single-pass, numerically stable variance/mean calculation.
  • Full support for regression, p-value approximations, and distributions (Normal, Gamma, Beta).

📦 Installation

Install the pre-compiled binaries via pip:

pip install rmath

📖 Modern Documentation Portal

For the full API reference, architectural deep-dives, and performance benchmarks, visit our premium documentation portal:

👉 https://Ay-developerweb.github.io/rmath/


⚡ Quick Start

import rmath as rm

# Generate a 1000x1000 matrix
arr = rm.Array.randn(1000, 1000)

# High-speed parallel stats
avg = arr.mean()
std = arr.std()

# Linear Algebra Solver
b = rm.Array.ones(1000, 1)
x = rm.linalg.solve(arr, b)

print(f"Residual Sum: {x.sum()}")

🤝 Contributing

RMath is built in Rust (src/) and exposed to Python via PyO3.

  • Rust: Core logic, SIMD, and Parallelism.
  • Python: High-level API and Type Stubs (.pyi).

📜 License

Dual-licensed under MIT and Apache 2.0.

Metadata

Release files for rmath-engine 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for rmath-engine 0.1.0
File
rmath_engine-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
rmath_engine-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
rmath_engine-0.1.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
rmath_engine-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
rmath_engine-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
rmath_engine-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
rmath_engine-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
rmath_engine-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
rmath_engine-0.1.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
rmath_engine-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
rmath_engine-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
rmath_engine-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details

Total release size: 37.5 MB

Release files / rmath_engine-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
c8c37789eef66acff624305c3169639549122e8a68c4fde786d8cf4ddf049ec5
BLAKE2b-256 checksum
How to use checksums
30832911592cfbd5172602c77f1d6401b6133bd52f37fa78fa830991b134e9f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp314-cp314-win_amd64.whl

Download URL rmath_engine-0.1.0-cp314-cp314-win_amd64.whl
Size 1.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
98800e16e0f7ca78b06a7fd1f5d3979f47b82b082859871cb3078dfbc3910d1d
BLAKE2b-256 checksum
How to use checksums
718214309b0847908d311a72fefeac4f8736bc0793bb5b3d58745ba17b42c7e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c64188bfe9f0792ab62cd60c75fecf43b73f6e465a8ddd962fe2aeb3e8fcfff8
BLAKE2b-256 checksum
How to use checksums
df28d6ff0741adbfe4325c628ff292a7514f2c510fc1f87afc8b9f3505f8c1fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL rmath_engine-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
86b05f8383151657b324e5d6482790b72511f0ad9a994223b410287f487ad65f
BLAKE2b-256 checksum
How to use checksums
5ea48363df00fc993f306b3c3e568607299aa3a5e12568be93a1245064aa2c37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp313-cp313-win_amd64.whl

Download URL rmath_engine-0.1.0-cp313-cp313-win_amd64.whl
Size 1.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
d9405c953f11376b2b6c2a62809a8fd152b20a7101755991cf0df2c495866ca6
BLAKE2b-256 checksum
How to use checksums
7922bb3a44fdb6ebdd1eadee80e9604fb412445650d435e9f764d5befd152be0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e7640cae4e613cb8feb143dfaf232cdfae0f1ca6fb7d8a1cfb29267b37fa5f89
BLAKE2b-256 checksum
How to use checksums
af59c45878de0f7b11487c812dc9ffe3693a2ec9fa90fd6074dffad0aec465d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL rmath_engine-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d3a2d97462916130b63f8d7838c51b35b6594d1ee15cc7f7743874dc2eb303d8
BLAKE2b-256 checksum
How to use checksums
3e948db538f195b95989e90ed2db824a5b0ab26f938aa4f342ce55455e84c767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp312-cp312-win_amd64.whl

Download URL rmath_engine-0.1.0-cp312-cp312-win_amd64.whl
Size 1.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8817abf3ddf5be018a04b9df54cfb0bd7a93f8ab06ee5a85c3d1bcfb5a0d0259
BLAKE2b-256 checksum
How to use checksums
f1a38b907fd32a3befa66079055d6de3f2062b6d46c242716baf734ae528e4f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2d17160c17da35c276537b2d69bc379f26ebe0dc784e5e27bd10094f9b17aa16
BLAKE2b-256 checksum
How to use checksums
370b52f7ab1309009c8d2342bda636793dab07b03fe04f96d32d9d697f275889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL rmath_engine-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e69aa98b076f6cd6be159a1cedaec53ed1395daa262472e612a0cff4b44ca259
BLAKE2b-256 checksum
How to use checksums
186b31d45affb0c65b4ce54c201375ff295c4c519b67d3f63156fda244f99cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp311-cp311-win_amd64.whl

Download URL rmath_engine-0.1.0-cp311-cp311-win_amd64.whl
Size 1.9 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5c6eb7079364d09aa142f2943d7a6e8b555855df1b9c026c93a4bda8023f53d3
BLAKE2b-256 checksum
How to use checksums
9db1dd98d0b4b454d0851d36bfa367d1e47a0eaeb18f4fd561ceba737913e1ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9b5d0cbc4ce19b88b2e3db2e6cb119208be241eb762cb603d23107ec7978f38a
BLAKE2b-256 checksum
How to use checksums
bbf32bf90ad42214e3969898f2bad44c2521c4ab34d6d3c9aacdbdbad4248a23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL rmath_engine-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ef267313d264ec40fd556c4f1d6a44f07f6ab195494c25224f91a945e1e905e4
BLAKE2b-256 checksum
How to use checksums
b557176650449b9b4355bff0a65ee880c0198e3d6c9ac495cdb0a0390bdfa86d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp310-cp310-win_amd64.whl

Download URL rmath_engine-0.1.0-cp310-cp310-win_amd64.whl
Size 1.9 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
fb15390b7ede5f120d59eda4ab0eac019356de477ac2a6f42b44707645c424c7
BLAKE2b-256 checksum
How to use checksums
d2f6c5c5981846082e4ca54874d2a66c76c28f0ebd5af198b149a3d09dd5130f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
39ae8123bbdfa5afe49546b2ccfc918fd711e53026e590cc76f16d61a9ad9cbc
BLAKE2b-256 checksum
How to use checksums
afef5e045df4296aecc34e2ca3541a923a229894b2bb0b53ebde28711503fc65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL rmath_engine-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Size 1.9 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
66bd1b71109377c84a90a8250e70ba8c4e307594be4e70c2b7b916fa5093b031
BLAKE2b-256 checksum
How to use checksums
dc7169b557f16f487dabea17f83462a74c2b5f47a328b5018090eaff337c7eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8d3f96805b07b97d1d7e787956075393ecb813ed9d71b88de14eb2e6923569f2
BLAKE2b-256 checksum
How to use checksums
1d4d97e0b29013cab6e6cd4bd1c3805308cf63c01f88274e033b256cea57c8d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / rmath_engine-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rmath_engine-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
08e5170723cea9cbe11e3d8af9191d3e113218d97e59bff6623744287ee6e7bf
BLAKE2b-256 checksum
How to use checksums
e1dda383900b811b5b986f7da71ffe40353264ebe40139551bf2db1b15fd4b48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

18 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page