hpcflow.sdk.core.utils.bisect_slice#

hpcflow.sdk.core.utils.bisect_slice(selection, len_A)#

Given two sequences (the first of which of known length), get the two slices that are equivalent to a given slice if the two sequences were combined.

Parameters:
Return type:

tuple[slice, slice]