ITDS Utilities Documentation¶
A NumPy-backed utility library with APIs inspired by the IMSL Fortran Numerical Library.
Utility functions backed by NumPy
ITDS Utilities packages sorting, searching, permutation, random number generation, low-discrepancy sequences, mathematical constants, and unit conversion routines from ITDS into a focused NumPy-backed library. Install, run a minimal quick-start example, then dive into the API reference.
Install and run
Start with editable install commands and a minimal sort/constant workflow.
Explore examples
Use targeted scripts for sorting, random generation, and constants/unit conversion.
Use the API directly
Jump into the public package reference once you know the routine family you need.
Recommended path: install the package, run the quick start, then use the examples page to find the closest routine family before dropping into the API reference.
Contents
- Installation
- Quick Start
- Examples
- Sort Example — sort_real, sort_real_indexed, sort_by_abs
- Random Example — uniform, normal, and gamma distributions
- Constants Example — get_constant and convert_units
- Search Example — search_sorted_real, search_sorted_integer
- Statistics Example — random_generate, rng_set_seed, descriptive stats
- Unit Conversion Example — convert_units
- Numerical Utilities Example — hypot_safe, prime_factors, cpu_time
- Permutation Example — sort_integer_indexed, sort_by_abs_indexed, permute_vector, permute_matrix
- Quasi-Random Sequence Example — faure_sequence, random_uniform, rng_get_seed
- Date Utilities Example — days_from_epoch, date_from_days, day_of_week
- API Reference
- License