NpcLinearOperatorWrapper
full name: tenpy.linalg.sparse.NpcLinearOperatorWrapper
parent module:
tenpy.linalg.sparse
type: class
Inheritance Diagram
Methods
|
|
Return the hermitian conjugate of self. |
|
Contract self to a matrix. |
|
Return to the original NpcLinearOperator. |
- class tenpy.linalg.sparse.NpcLinearOperatorWrapper(orig_operator)[source]
Bases:
object
Base class for wrapping around another
NpcLinearOperator
.Attributes not explicitly set with self.attribute = value (or by defining methods) default to the attributes of the wrapped orig_operator.
Warning
If there are multiple levels of wrapping operators, the order might be critical to get correct results; e.g.
OrthogonalNpcLinearOperator
needs to be the outer-most wrapper to produce correct results and/or be efficient.- Parameters:
orig_operator (NpcLinearOperator) – The original operator implementing the matvec.
- orig_operator
The original operator implementing the matvec.
- Type: