bundles / scipy 1.17.1 / scipy / sparse / linalg / _expm_multiply / _compute_p_max
function
scipy.sparse.linalg._expm_multiply:_compute_p_max
Signature
def _compute_p_max ( m_max ) Summary
Compute the largest positive integer p such that p*(p-1) <= m_max + 1.
Extended Summary
Do this in a slightly dumb way, but safe and not too slow.
Parameters
m_max: intA count related to bounds.
Aliases
-
scipy.sparse.linalg._expm_multiply._compute_p_max