egttools.plotting.simplified.calculate_stability¶
- calculate_stability(roots, f)[source]¶
Calculates the stability of the roots. It will return a list indicating whether each root is or not stable.
- Parameters
roots (numpy.ndarray) – A list or arrays which contain the barycentric coordinates of the roots.
f (Callable[[numpy.ndarray], numpy.ndarray]) – A function which computes the gradient at any point in the simplex.
- Returns
A list of booleans indicating whether each root is or not stable.
- Return type
List[bool]