BoundedSliceChain

class tollan.utils.slice.BoundedSliceChain(range_, n=None)[source]

Bases: tollan.utils.slice.SliceChain

A chain of slices, with known array size.

Parameters
range_: range

The initial index generator.

_n: list of int, optional

The intended array size (not enforced).

Attributes Summary

bounded

Methods Summary

apply(arr)

to_slice()

Attributes Documentation

bounded = True

Methods Documentation

apply(arr)[source]
to_slice()[source]