SpECTRE
v2025.03.17
|
Determine whether or not a given list of TensorIndexs is valid to be used with a tensor. More...
Determine whether or not a given list of TensorIndexs is valid to be used with a tensor.
A list of TensorIndexs is considered valid if the subset of generic indices are a set. Indices with opposite valences are unique, e.g. one instance each of ti::a
and ti::A
is valid. An arbitrary number of concrete time indices, regardless of valence, is also valid.
TensorIndexList | list of generic index types, e.g. the types of ti::a, ti::b |