Skip to content

Releases

boost-math 0.5.0 (unofficial fork build)

Choose a tag to compare

@NAThompson NAThompson released this 07 Nov 20:04

Unofficial fork build. Boost.Math as WebAssembly (ES module + .d.ts) and as Python wheels (abi3), both built from commit 0737e28 on the boost-math-0.5.0 branch of this personal fork, which is boostorg/math develop plus the WebAssembly bindings. Not an official Boost release; nothing is published to npm or PyPI. The wheel metadata's URLs point at boostorg/math and boost.org.

New since 0.4.0:

  • Fresnel integrals C(x) and S(x), normalized as in DLMF 7.2, mpmath and SciPy, within an ulp in double (boostorg#1636). In Python, fresnel_c(x), fresnel_s(x) and fresnel_cis(x) = C + iS (complex128), all vectorized. In JavaScript, fresnel_c / fresnel_s and their _array twins, fresnel_cis(x) → [C, S], and fresnel_cis_array(xs) → [C0, S0, C1, S1, ...].
  • Multivariate Newton and Halley no longer creep towards a singular Jacobian (boostorg#1635).
  • Everything else on develop since 0.4.0.

WebAssembly

npm install https://github.com/NAThompson/math/releases/download/boost-math-v0.5.0/boost-math-wasm-0.5.0.tgz

sha256 of boost-math-wasm-0.5.0.tgz: 25a7409a52ae93df4bd14a427d323ed7fb1289778a37a12dd2a50e0942704009

Python (CPython 3.12+). The installer picks the right wheel for your platform from this release:

pip:

pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.5.0

uv:

uv pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.5.0

In a uv project's pyproject.toml (then uv sync; uv.lock records this release as the source):

[project]
dependencies = ["boost-math>=0.5"]

[tool.uv]
find-links = ["https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.5.0"]

In a requirements.txt for pip:

--find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.5.0
boost-math

Wheels: manylinux x86_64 and aarch64, macOS arm64 and x86_64, Windows x86_64; SHA-256s in SHA256SUMS. There is no sdist: on other platforms (e.g. musllinux) the install fails. uv lists GitHub's "Source code" archive as a source distribution, but it cannot be built, because the Python package lives in nanobind/.

boost-math 0.4.0 (unofficial fork build)

Choose a tag to compare

@NAThompson NAThompson released this 05 Nov 07:46

Unofficial fork build. Boost.Math as WebAssembly (ES module + .d.ts) and as Python wheels (abi3), both built from commit 695374d on the boost-math-0.4.0 branch of this personal fork, which is boostorg/math develop plus the WebAssembly bindings. Not an official Boost release; nothing is published to npm or PyPI. The wheel metadata's URLs point at boostorg/math and boost.org.

New since 0.3.0:

  • Prolate and oblate spheroidal wave functions (boostorg#1631). In Python, prolate_spheroidal(n, m, c) and oblate_spheroidal(n, m, c) are classes with vectorized angular, radial_1, radial_2 and their _primes, plus prolate_spheroidal_eigenvalue / oblate_spheroidal_eigenvalue. In JavaScript, prolate_spheroidal_angular(n, m, c, x) etc. Negative c is allowed.
  • Struve functions struve_h(nu, x) and struve_l(nu, x) and their x-derivatives struve_h_prime / struve_l_prime (boostorg#1633).
  • Generalized Laguerre polynomials for real alpha (boostorg#1632); in Python, laguerre(n, alpha, x).
  • Wavelet denoising and transforms on the interval (boostorg#1629): wavelet_denoise, wavelet_transform, inverse_wavelet_transform, denoise, and hoyer_sparsity, now also in the wasm module.
  • Everything else on develop since 0.3.0.

WebAssembly

npm install https://github.com/NAThompson/math/releases/download/boost-math-v0.4.0/boost-math-wasm-0.4.0.tgz

sha256 of boost-math-wasm-0.4.0.tgz: c9b548e86ef0460f58bdcb37541d012d76df586afca6246cb701dfbaf429138d

Python (CPython 3.12+). The installer picks the right wheel for your platform from this release:

pip:

pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.4.0

uv:

uv pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.4.0

In a uv project's pyproject.toml (then uv sync; uv.lock records this release as the source):

[project]
dependencies = ["boost-math>=0.4"]

[tool.uv]
find-links = ["https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.4.0"]

In a requirements.txt for pip:

--find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.4.0
boost-math

Wheels: manylinux x86_64 and aarch64, macOS arm64 and x86_64, Windows x86_64; SHA-256s in SHA256SUMS. There is no sdist: on other platforms (e.g. musllinux) the install fails. uv lists GitHub's "Source code" archive as a source distribution, but it cannot be built, because the Python package lives in nanobind/.

boost-math-wasm 0.2.0

Choose a tag to compare

@NAThompson NAThompson released this 03 Nov 03:13

Boost.Math as WebAssembly (ES module + .d.ts), built from the wasm-h5web branch of this personal fork. Not an official Boost release; not published to npm.

New since 0.1.0 (rebased on boostorg/math develop):

  • trend_filter(y, k, lambda) and trend_filter(y) (k and lambda by cross-validation), from boostorg#1617.
  • hypergeometric_0F1 accurate to about 0.5 ulp for negative z and b (boostorg#1618).

Install: npm install https://github.com/NAThompson/math/releases/download/boost-math-wasm-v0.2.0/boost-math-wasm-0.2.0.tgz

sha256: 3a8d3e6ffb27b6bedd3bc4d332b9902cd23dc96e7af9c725d93d93220eb693e5

boost-math 0.3.0 (wasm + Python wheels, unofficial fork build)

Choose a tag to compare

@NAThompson NAThompson released this 03 Nov 05:06

Unofficial fork build. Boost.Math as WebAssembly (ES module + .d.ts) and as Python wheels (abi3), both built from commit 3406970 on the wasm-h5web branch of this personal fork, which is boostorg/math develop plus the WebAssembly bindings. Not an official Boost release; nothing is published to npm or PyPI. The wheel metadata's URLs point at boostorg/math and boost.org.

New since 0.2.0:

  • multivariate_newton and multivariate_halley (Cuyt's multivariate Halley), from boostorg#1620. In JavaScript, f(x) returns [F, J] or [F, J, d2] with d2(v) = F''(x)[v, v]; the result is {root, iterations}. In Python they are boost.math.roots.multivariate_newton / multivariate_halley.
  • Everything else on develop since 0.2.0.

WebAssembly

npm install https://github.com/NAThompson/math/releases/download/boost-math-v0.3.0/boost-math-wasm-0.3.0.tgz

sha256 of boost-math-wasm-0.3.0.tgz: c046557c62f2ea4a4129022b22890212d2979e35ad29d232114451f429f8e9a1

Python (CPython 3.12+). The installer picks the right wheel for your platform from this release:

pip:

pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.3.0

uv:

uv pip install boost-math --find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.3.0

In a uv project's pyproject.toml (then uv sync; uv.lock records this release as the source):

[project]
dependencies = ["boost-math>=0.3"]

[tool.uv]
find-links = ["https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.3.0"]

In a requirements.txt for pip:

--find-links https://github.com/NAThompson/math/releases/expanded_assets/boost-math-v0.3.0
boost-math

Wheels: manylinux x86_64 and aarch64, macOS arm64 and x86_64, Windows x86_64; SHA-256s in SHA256SUMS. There is no sdist: on other platforms (e.g. musllinux) the install fails. uv lists GitHub's "Source code" archive as a source distribution, but it cannot be built, because the Python package lives in nanobind/.

boost-math-wasm 0.1.0

Choose a tag to compare

@NAThompson NAThompson released this 03 Nov 02:47

Boost.Math as WebAssembly (ES module + .d.ts), built from the wasm-h5web branch of this personal fork. Not an official Boost release; not published to npm.

sha256: ef9f475c16e2e87a6698fa32ba03d3d6050c1de869f9759f6e8fb568fb4ad083