triqs.mesh.meshes.MeshReFreqPts.is_index_valid

MeshReFreqPts.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.