bundles / scipy 1.17.1 / scipy / sparse / linalg / _expm_multiply / _expm_multiply_interval
function
scipy.sparse.linalg._expm_multiply:_expm_multiply_interval
Signature
def _expm_multiply_interval ( A , B , start = None , stop = None , num = None , endpoint = None , traceA = None , balance = False , status_only = False ) Summary
Compute the action of the matrix exponential at multiple time points.
Parameters
A: transposable linear operatorThe operator whose exponential is of interest.
B: ndarrayThe matrix to be multiplied by the matrix exponential of A.
start: scalar, optionalThe starting time point of the sequence.
stop: scalar, optionalThe end time point of the sequence, unless
endpointis set to False. In that case, the sequence consists of all but the last ofnum + 1evenly spaced time points, so thatstopis excluded. Note that the step size changes whenendpointis False.num: int, optionalNumber of time points to use.
traceA: scalar, optionalTrace of
A. If not given the trace is estimated for linear operators, or calculated exactly for sparse matrices. It is used to preconditionA, thus an approximate trace is acceptableendpoint: bool, optionalIf True,
stopis the last time point. Otherwise, it is not included.balance: boolIndicates whether or not to apply balancing.
status_only: boolA flag that is set to True for some debugging and testing operations.
Returns
F: ndarraystatus: intAn integer status for testing and debugging.
Notes
This is algorithm (5.2) in Al-Mohy and Higham (2011).
There seems to be a typo, where line 15 of the algorithm should be moved to line 6.5 (between lines 6 and 7).
Aliases
-
scipy.sparse.linalg._expm_multiply._expm_multiply_interval