triqs.mesh.meshes.MeshLegendre.is_index_valid
- MeshLegendre.is_index_valid()
Dispatched C++ function(s).
[1] (n: int) -> bool
Check if an index \(n\) is valid.
- Parameters:
- nint
Index \(n\) to check.
- Returns:
- bool
True if \(0 \leq n < N\), false otherwise.