numba_sine_sum¶
- mdcraft.analysis.structure.numba_sine_sum(x: ndarray[float]) float[source]¶
Serial Numba-accelerated sum of the sines of the elements in a one-dimensional NumPy array \(\mathbf{x}\).
\[\sum_{i=1}^N\sin(x_i)\]- Parameters:
- xnp.ndarray
Vector \(\mathbf{x}\).
Shape: \((N,)\).
- Returns:
- sfloat
Sum of the sines of the elements in the vector \(\mathbf{x}\).