iota.iota

  1. Slice!(IotaIterator!I, N) iota(size_t[N] lengths, I start)
  2. Slice!(StrideIterator!(IotaIterator!I), N) iota(size_t[N] lengths, I start, size_t stride)
    template iota(I)
    @optmath
    iota
    (
    size_t N
    )
    (
    size_t[N] lengths
    ,,
    size_t stride
    )
    if (
    __traits(isIntegral, I)
    )
    if (
    __traits(isIntegral, I)
    )

Meta