-
#include "tensorstore/index_interval.h"
-
bool tensorstore::AreCompatibleOrUnbounded(IndexInterval a,
IndexInterval b); Returns
true
if the lower and upper bounds ofa
“match” the lower and upper bounds ofb
.An infinite bound is considered to match an infinite bound or any finite bound, but two finite bounds only match if they are equal.