mat_mat_op renamed to _mat_mat_op

This commit is contained in:
Fabian Joswig 2021-10-25 14:32:28 +01:00
parent a24e608413
commit ad53f28e46
3 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@ import matplotlib.pyplot as plt
import scipy.linalg
from .pyerrors import Obs, dump_object
from .fits import standard_fit
from .linalg import eigh, mat_mat_op
from .linalg import eigh, inv, cholesky
from .roots import find_root
@ -187,10 +187,10 @@ class Corr:
def Eigenvalue(self, t0, state=1):
G = self.smearing_symmetric()
G0 = G.content[t0]
L = mat_mat_op(anp.linalg.cholesky, G0)
Li = mat_mat_op(anp.linalg.inv, L)
L = cholesky(G0)
Li = inv(L)
LT = L.T
LTi = mat_mat_op(anp.linalg.inv, LT)
LTi = inv(LT)
newcontent = []
for t in range(self.T):
Gt = G.content[t]