sparse
full name: tenpy.linalg.sparse
parent module:
tenpy.linalg
type: module
Classes
|
Represents |
|
Hermitian variant of |
|
Square Linear operator acting on numpy arrays based on a matvec acting on npc Arrays. |
Prototype for a Linear Operator acting on |
|
|
Base class for wrapping around another |
|
Replace |
|
Represents |
|
Sum of two linear operators. |
Module description
Providing support for sparse algorithms (using matrix-vector products only).
Some linear algebra algorithms, e.g. Lanczos, do not require the full representations of a linear
operator, but only the action on a vector, i.e., a matrix-vector product matvec. Here we define
the structure of such a general operator, NpcLinearOperator
, as it is used in our own
implementations of these algorithms (e.g., lanczos
). Moreover, the
FlatLinearOperator
allows to use all the scipy sparse methods by providing functionality
to convert flat numpy arrays to and from np_conserved arrays.