bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975,pymanopt/manifolds/product.py,Product,egrad2rgrad,#Product#,44

Before Change


                               for k in range(0, self._nmanifolds)])

    def egrad2rgrad(self, X, U):
        return _TangentVector([self._manifolds[k].egrad2rgrad(X[k], U[k])
                              for k in range(0, self._nmanifolds)])

    def ehess2rhess(self, X, egrad, ehess, H):
        return _TangentVector([self._manifolds[k].ehess2rhess(X[k], egrad[k],

After Change



    def egrad2rgrad(self, X, U):
        return _TangentVector([man.egrad2rgrad(X[k], U[k])
                               for k, man in enumerate(self._manifolds)])

    def ehess2rhess(self, X, egrad, ehess, H):
        return _TangentVector([man.ehess2rhess(X[k], egrad[k], ehess[k], H[k])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

Non-data size: 6

Instances


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: egrad2rgrad


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: log


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: retr


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: pairmean


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: proj


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: dist


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: transp


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: zerovec


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: ehess2rhess


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: exp


Project Name: pymanopt/pymanopt
Commit Name: bd0f9dfdd22d3043daf8bd6bff010eee4a0d6975
Time: 2018-04-30
Author: niklas.koep@gmail.com
File Name: pymanopt/manifolds/product.py
Class Name: Product
Method Name: inner