slicedNdField

Creates an n-dimensional slice-shell over an ndField.

  1. Slice!(IndexIterator!(FieldIterator!(ndIotaField!N), ndField), N) slicedNdField(ndField field, size_t[N] lengths)
  2. auto slicedNdField(ndField field)
    slicedNdField
    (
    ndField
    )
    (
    ndField field
    )
    if (
    hasShape!ndField
    )

Parameters

field ndField

A ndField. Lengths should fit into field's shape.

Return Value

Type: auto

n-dimensional slice

See Also

concatenation examples.

Meta