bundles / scipy 1.17.1 / scipy / sparse / linalg / _expm_multiply / _fragment_3_1
function
scipy.sparse.linalg._expm_multiply:_fragment_3_1
Signature
def _fragment_3_1 ( norm_info , n0 , tol , m_max = 55 , ell = 2 ) Summary
A helper function for the _expm_multiply_* functions.
Parameters
norm_info: LazyOperatorNormInfoInformation about norms of certain linear operators of interest.
n0: intNumber of columns in the _expm_multiply_* B matrix.
tol: floatExpected to be for single precision or for double precision.
m_max: intA value related to a bound.
ell: intThe number of columns used in the 1-norm approximation. This is usually taken to be small, maybe between 1 and 5.
Returns
best_m: intRelated to bounds for error control.
best_s: intAmount of scaling.
Notes
This is code fragment (3.1) in Al-Mohy and Higham (2011). The discussion of default values for m_max and ell is given between the definitions of equation (3.11) and the definition of equation (3.12).
Aliases
-
scipy.sparse.linalg._expm_multiply._fragment_3_1