Instance Methodswift 6.0.1Swift

    wrappedSum

    Returns the sum of the scalars in the vector, computed with wrapping addition.

    func wrappedSum() -> Self.Scalar

    Equivalent to indices.reduce(into: 0) { $0 &+= self[$1] }.

    Other members in extension

    Type members

    Instance members