Skip to main content

Module optimizations

Module optimizations 

Source
Expand description

Performance optimizations for special functions

This module provides SIMD optimizations, lookup tables, and other performance enhancements for special function computations. All optimizations maintain numerical accuracy while improving computational speed.

Modules§

adaptive
Adaptive algorithms that choose optimal implementations based on input
enhanced_caching
Enhanced caching mechanisms for expensive computations
lookup_tables
Lookup tables for commonly computed values
poly_approx
Polynomial approximations for fast function evaluation
simd
SIMD-optimized operations for vectorized computations
vectorized
Vectorized operations for improved performance

Functions§

bessel_j0_fast
Fast lookup-based Bessel J0 function
cache_polylog
Store polylogarithm value in cache.
exponential_integral_e1_pade
Pade approximation for the exponential integral E₁(x).
exponential_integral_pade
Pade approximation for the exponential integral Ei(x).
gamma_fast
Fast lookup-based Gamma function
get_cached_polylog
Get cached polylogarithm value if available.
get_constant
Get a cached constant value.
ln_1p_optimized
Optimized ln(1+x) to handle small x more accurately.