delta_fourier_transform_sum_parallel_2d_2d¶
- mdhelper.algorithm.accelerated.delta_fourier_transform_sum_parallel_2d_2d(qs: ndarray[float], rs: ndarray[float]) ndarray[complex] [source]¶
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,)\).
\[\sum_\mathbf{r}\mathcal{F}[\delta(\mathbf{q}-\mathbf{r})] =\sum_\mathbf{r}\exp(i\mathbf{q}\cdot\mathbf{r})\]- Parameters:
- qsnp.ndarray
Multiple vectors \(\mathbf{q}\).
Shape: \((N_q,\,3)\).
- rsnp.ndarray
Multiple vectors \(\mathbf{r}\).
Shape: \((N_r,\,3,)\).
- Returns:
- Fnp.ndarray
Fourier transforms of the Dirac delta functions, \(\mathcal{F}[\delta(\mathbf{q}-\mathbf{r})]\).
Shape: \((N_q,)\).