Exemple #1
0
 def orthogopt(self, v, coords):
     """make v orthogonal to the zero eigenvectors at position coords"""
     zev = zeroev.gramm_schmidt(self.zeroEV(coords))
     zeroev.orthogonalize(v, zev)
     return v
Exemple #2
0
 def _orthog_to_zero(self, v, coords):
     zerov = [np.array(coords) / np.linalg.norm(coords)]
     return orthogonalize(v, zerov)
 def _orthog_to_zero(self, v, coords):
     zerov = [np.array(coords)/np.linalg.norm(coords)]
     return orthogonalize(v, zerov)
Exemple #4
0
 def ortogopt_aa(self, v, coords):
     v = v.copy()
     zev = zeroev.gramm_schmidt(self.zeroEV(coords))
     zeroev.orthogonalize(v, zev)
     return v
Exemple #5
0
 def orthogopt(self, v, coords):
     zev = zeroev.gramm_schmidt(self.zeroEV(coords))
     zeroev.orthogonalize(v, zev)
     return v
Exemple #6
0
 def orthogopt(self, v, coords):
     """make v orthogonal to the zero eigenvectors at position coords"""
     zev = zeroev.gramm_schmidt(self.zeroEV(coords))
     zeroev.orthogonalize(v, zev)
     return v