mir_slice.label

Label for the dimensions 'd'. By default returns the row label.

  1. Slice!(Labels[d]) label()
  2. void label(Slice!(Labels[d]) rhs)
  3. Slice!(LightConstOf!(Labels[d])) label()
    struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
    @property const
    @optmath
    Slice!(LightConstOf!(Labels[d]))
    label
    (
    size_t d = 0
    )
    ()
    if (
    d <= L
    )
    if (
    0 < N_ &&
    N_ < 255
    &&
    !(
    kind_ == Canonical &&
    N_ == 1
    )
    &&
    Labels_.length <= N_
    &&
    isIterator!Iterator_
    )
  4. Slice!(LightImmutableOf!(Labels[d])) label()

Meta