{ } Raw JSON

bundles / scipy latest / scipy / sparse / linalg / _matfuncs / _fragment_2_1

function

scipy.sparse.linalg._matfuncs:_fragment_2_1

source: /scipy/sparse/linalg/_matfuncs.py :771

Signature

def   _fragment_2_1 ( X T s )

Summary

A helper function for expm_2009.

Notes

The argument X is modified in-place, but this modification is not the same as the returned value of the function. This function also takes pains to do things in ways that are compatible with sparse arrays, for example by avoiding fancy indexing and by using methods of the matrices whenever possible instead of using functions of the numpy or scipy libraries themselves.

Aliases

  • scipy.sparse.linalg._matfuncs._fragment_2_1