-
#include "tensorstore/index_interval.h"
-
OptionallyImplicitIndexInterval
tensorstore::Intersect(OptionallyImplicitIndexInterval a,
OptionallyImplicitIndexInterval b); Intersects two index intervals.
Returns the larger of the lower bounds and the smaller of the upper bounds. The
implicit
flag that corresponds to the selected bound is propagated, in the event of equal bounds and mismatched implicit flags, an explicit flag is used.- Parameters:¶
- OptionallyImplicitIndexInterval a¶
OptionallyImplicitIndexInterval to intersect.
- OptionallyImplicitIndexInterval b¶
Other OptionallyImplicitIndexInterval to intersect.