sine_sum_inplace_parallel_2d¶
- mdhelper.algorithm.accelerated.sine_sum_inplace_parallel_2d(xs: ndarray[float], s: ndarray[float]) None [source]¶
Parallel in-place Numba-accelerated row-wise sum of the sines of the elements of a two-dimensional NumPy array \(\mathbf{xs}\).
\[\sum_{i=1}^N\sin(x_{ij})\]- Parameters:
- xsnp.ndarray
Matrix \(\mathbf{xs}\).
Shape: \((N,\,M)\).
- snp.ndarray
Array to hold row-wise sum of the sines of the elements of the matrix \(\mathbf{xs}\).
Shape: \((N,)\).