conatus.contour.count¶
- conatus.contour.count(T, region, *, poles=None, derivative=None, control=None, phase_step=0.7853981633974483, initial_points=16, max_evaluations=20000)[source]¶
Number of eigenvalues of
T(z)inregion(aconatus.contour.box()) by the argument principle, certified as an integer (module docstring).T: a pair(L, M)for the pencilL + z M, aconatus.floquet.HillBlocks, or a callablez -> matrix(or scalar).poles: poles ofdet Tinside the region, for a callable (0 ifTis holomorphic there; a pencil and a linear Hill operator have none by construction); without it the result gives the windingZ - Pandcount=None.control=(box2, n): countbox2first and refuse unless it holdsn(a box whose count is known checks the operator and the walk).phase_step,initial_points,max_evaluations: the walk (declared defaultsPHASE_STEP_MAX,INITIAL_POINTS,MAX_EVALUATIONS). Raises ConvergenceError when the walk cannot be completed (an eigenvalue on the boundary, a discontinuous determinant) or does not close on an integer.- Parameters:
T (Any)
region (ContourBox)
poles (int | None)
derivative (Any)
control (tuple[ContourBox, int] | None)
phase_step (float)
initial_points (int)
max_evaluations (int)
- Return type: