Contents

subscript(scalarAt:)

Accesses an element and a multidimensional location.

Declaration

subscript<C>(scalarAt indices: C) -> Self.Scalar where C : Collection, C.Element == Int { get set }

Parameters

  • indices:

    An integer collection that represents a position in the shaped array in which each integer is an index in the corresponding dimension.

See Also

Accessing elements