std::core::array

@sum

macro @sum(array, identity_value = 0)
Apply a summation operator (+) to an identity value across a span of array elements
and return the final accumulated result.

Parameters