d85ecc37deb225b960b3c010b892f9ca3f7b889e,pymanopt/manifolds/stiefel.py,Stiefel,proj,#Stiefel#Any#Any#,61
Before Change
def proj(self, X, U):
UNew = U - multiprod(
X, multiprod(multitransp(X), U) + multiprod(multitransp(U), X)) / 2
return UNew
egrad2rgrad = proj
def ehess2rhess(self, X, egrad, ehess, H):
After Change
return np.tensordot(G, H, axes=G.ndim)
def proj(self, X, U):
return U - multiprod(X, multisym(multiprod(multitransp(X), U)))
egrad2rgrad = proj
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pymanopt/pymanopt
Commit Name: d85ecc37deb225b960b3c010b892f9ca3f7b889e
Time: 2016-02-15
Author: jamiehntownsend@gmail.com
File Name: pymanopt/manifolds/stiefel.py
Class Name: Stiefel
Method Name: proj
Project Name: pymanopt/pymanopt
Commit Name: a1be7bf2f0926707e25b02570c17ba373878f768
Time: 2016-03-14
Author: jamiehntownsend@gmail.com
File Name: pymanopt/manifolds/psd.py
Class Name: PositiveDefinite
Method Name: exp
Project Name: pymanopt/pymanopt
Commit Name: 4346ff930104b0d9b6735090a1ce4c485d40b981
Time: 2016-02-25
Author: jamiehntownsend@gmail.com
File Name: pymanopt/manifolds/grassmann.py
Class Name: Grassmann
Method Name: dist