-
#include "tensorstore/rank.h"
-
static constexpr RankConstraint
tensorstore::RankConstraint::Subtract(DimensionIndex a,
DimensionIndex b); Subtracts the rank constraints.
If
a
orb
is equal todynamic_rank
, the result isdynamic_rank
.Otherwise, the result is equal to the difference of the two fixed ranks.
- Pre:¶