package scipy
Module Nonlin.LowRankMatrixSource
A matrix represented as
.. math:: \alpha I + \sum_n=0^n=M c_n d_n^\dagger
However, if the rank of the matrix reaches the dimension of the vectors, full matrix representation will be used thereon.
None
Collapse the low-rank matrix to a full-rank one.
Evaluate w = M v
Reduce the rank of the matrix by dropping all vectors.
Evaluate w = M^H v
Evaluate w = M^-H v
Reduce the rank of the matrix by dropping oldest vectors.
Evaluate w = M^-1 v
Reduce the rank of the matrix by retaining some SVD components.
This corresponds to the 'Broyden Rank Reduction Inverse' algorithm described in 1_.
Note that the SVD decomposition can be done by solving only a problem whose size is the effective rank of this matrix, which is viable even for large problems.
Parameters ---------- max_rank : int Maximum rank of this matrix after reduction. to_retain : int, optional Number of SVD components to retain when reduction is done (ie. rank > max_rank). Default is ``max_rank - 2``.
References ---------- .. 1 B.A. van der Rotten, PhD thesis, 'A limited memory Broyden method to solve high-dimensional systems of nonlinear equations'. Mathematisch Instituut, Universiteit Leiden, The Netherlands (2003).
https://web.archive.org/web/20161022015821/http://www.math.leidenuniv.nl/scripties/Rotten.pdf
Pretty-print the object to a formatter.