accelerated

Accelerated algorithms

This module contains miscellaneous Numba-accelerated common algorithms.

Functions

numba_dot

Serial Numba-accelerated dot product between two one-dimensional NumPy arrays \(\mathbf{a}\) and \(\mathbf{b}\), each with shape \((3,)\).

numba_histogram

Serial Numba-accelerated function to compute the histogram of a one-dimensional NumPy array \(\mathbf{a}\) using predetermined bin edges for \(N_\mathrm{bins}\) bins.

numba_histogram_bin_edges

Serial Numba-accelerated function to compute the uniform histogram bin edges for a one-dimensional NumPy array \(\mathbf{a}\) and a specified number of bins \(N_\mathrm{bins}\).

numba_inner

Serial Numba-accelerated inner product between all possible combinations of multiple one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).

numba_inner_parallel

Parallel Numba-accelerated inner product between all possible combinations of multiple one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).