abax 0.1.0

A lightweight Rust library providing high-precision mathematical constants and special functions, including Bernoulli numbers, Riemann Zeta values, and the Gamma function.
Documentation

abax

A lightweight Rust library providing high-precision mathematical constants and special functions.

Features

  • Mathematical Constants:
    • Bernoulli numbers (B2n) up to n=16.
    • Riemann Zeta function values for integers 2 through 16.
    • Euler-Mascheroni constant.
    • Stirling series coefficients for asymptotic expansions.
  • Special Functions:
    • gammaln(x): Natural logarithm of the Gamma function ln(Γ(x)) using Stirling's approximation for high precision.

Usage

Add this to your Cargo.toml:

[dependencies]

abax = "0.1.0"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Repository

Source code is available on GitHub.