wrappedSum()
Returns the sum of the scalars in the vector, computed with wrapping addition.
Declaration
func wrappedSum() -> Self.ScalarDiscussion
Equivalent to indices.reduce(into: 0) { $0 &+= self[$1] }.
Returns the sum of the scalars in the vector, computed with wrapping addition.
func wrappedSum() -> Self.ScalarEquivalent to indices.reduce(into: 0) { $0 &+= self[$1] }.