pinv
full name: tenpy.linalg.np_conserved.pinv
parent module:
tenpy.linalg.np_conserved
type: function
- tenpy.linalg.np_conserved.pinv(a, cutoff=1e-15)[source]
Compute the (Moore-Penrose) pseudo-inverse of a matrix.
Equivalent to the following procedure: Perform a SVD,
U, S, VH = svd(a, cutoff=cutoff)
with a cutoff > 0, calculateP = U * diag(1/S) * VH
(with*
denoting tensordot) and returnP.conj.transpose()
.