Home | Trees | Indices | Help |
---|
|
object --+ | interface.LinearOperator --+ | SymmetricOperator --+ | EigendecompositionOperator
Define a SymmetricOperator from the eigendecomposition of another SymmetricOperator. This can be used as an approximation for the operator. Inputs ------- A: LinearOperator (default: None) The LinearOperator to approximate. v: 2d ndarray (default: None) The eigenvectors as given by arpack.eigsh w: 1d ndarray (default: None) The eigenvalues as given by arpack.eigsh **kwargs: keyword arguments Passed to the arpack.eigsh function. You need to specify either A or v and w. Returns ------- An EigendecompositionOperator instance, which is a subclass of the SymmetricOperator. Notes ----- This is really a wrapper for scipy.sparse.linalg.eigen.arpack.eigsh
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Returns a SymmetricOperator of given shape and matvec function. Parameters ---------- shape : length 2 tuple The shape of the operator. Should be square. matvec : function The matrix-vector operation. Returns ------- A SymmetricOperator instance.
|
Output the log of the determinant. Useful as the determinant of large matrices can exceed floating point capabilities. |
Raising an eigendecomposition to an integer power requires only raising the eigenvalues to this power.
|
Output an approximation of the condition number by taking the ratio of the maximum over the minimum eigenvalues, removing the zeros. For better approximation of the condition number, one should consider generating the eigendecomposition with the keyword which='BE', in order to have a correct estimate of the small eigenvalues. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jun 2 17:46:16 2011 | http://epydoc.sourceforge.net |