{ } Raw JSON

bundles / scipy 1.17.1 / scipy / sparse / linalg / _matfuncs / _ExpmPadeHelper / __init__

function

scipy.sparse.linalg._matfuncs:_ExpmPadeHelper.__init__

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

Signature

def   __init__ ( self A structure = None use_exact_onenorm = False )

Summary

Initialize the object.

Parameters

A : a dense or sparse square numpy matrix or ndarray

The matrix to be exponentiated.

structure : str, optional

A string describing the structure of matrix A. Only upper_triangular is currently supported.

use_exact_onenorm : bool, optional

If True then only the exact one-norm of matrix powers and products will be used. Otherwise, the one-norm of powers and products may initially be estimated.

Aliases

  • scipy.sparse.linalg._matfuncs._ExpmPadeHelper.__init__