Basis.is_parent_of
- Basis.is_parent_of(other, inclusive=False)[source]
Check if the basis is parent of a second basis.
- Parameters
other (btensor.basis.Basis) – Second basis.
inclusive (bool) – If True, the function will return True, even if the current basis and other are the same. Default: False.
- Returns
True if other is a parent of the basis, False otherwise.
- Return type
bool