majorSlices property

Iterable<TypedLogicArray<T, V>> get majorSlices

Immediate typed child arrays along the first dimension.

Implementation

Iterable<TypedLogicArray<T, V>> get majorSlices {
  if (dimensions.length < 2) {
    throw StateError('majorSlices requires at least two dimensions.');
  }
  return elements.cast<TypedLogicArray<T, V>>();
}