accelerated

Accelerated algorithms

This module contains miscellaneous Numba-accelerated algorithms.

Functions

cosine_sum_1d

Serial Numba-accelerated sum of the cosines of the elements of a one-dimensional NumPy array \(\mathbf{x}\).

cosine_sum_2d

Serial Numba-accelerated row-wise sum of the cosines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

cosine_sum_inplace_2d

Serial in-place Numba-accelerated row-wise sum of the cosines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

cosine_sum_inplace_parallel_2d

Parallel in-place Numba-accelerated row-wise sum of the cosines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

cosine_sum_parallel_2d

Parallel Numba-accelerated row-wise sum of the cosines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

delta_fourier_transform_1d_1d

Serial Numba-accelerated Fourier transform of a Dirac delta function involving two one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).

delta_fourier_transform_sum_2d_2d

Serial Numba-accelerated Fourier transforms of Dirac delta functions involving all possible combinations of multiple one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).

delta_fourier_transform_sum_parallel_2d_2d

Parallel Numba-accelerated Fourier transforms of Dirac delta functions involving all possible combinations of multiple one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).

dot_1d_1d

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

inner_2d_2d

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

inner_parallel_2d_2d

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

pythagorean_trigonometric_identity_1d

Serial Numba-accelerated evaluation of the Pythagorean trigonometric identity for a one-dimensional NumPy array \(\mathbf{r}\).

pythagorean_trigonometric_identity_1d_1d

Serial Numba-accelerated evaluation of the cross Pythagorean trigonometric identity for two one-dimensional NumPy arrays \(\mathbf{r}\) and \(\mathbf{s}\).

sine_sum_1d

Serial Numba-accelerated sum of the sines of the elements of a one-dimensional NumPy array \(\mathbf{x}\).

sine_sum_2d

Serial Numba-accelerated row-wise sum of the sines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

sine_sum_inplace_2d

Serial in-place Numba-accelerated row-wise sum of the sines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

sine_sum_inplace_parallel_2d

Parallel in-place Numba-accelerated row-wise sum of the sines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).

sine_sum_parallel_2d

Parallel Numba-accelerated row-wise sum of the sines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).