5ded2b734290836869a549a7c0e4be7d46d4bde4,scipy/sparse/linalg/eigen/lobpcg/lobpcg.py,,_b_orthonormalize,#Any#Any#Any#Any#,86

Before Change


        else:
            blockVectorBV = blockVectorV  // Shared data!!!
    gramVBV = np.dot(blockVectorV.T.conj(), blockVectorBV)
    gramVBV = cholesky(gramVBV)
    gramVBV = inv(gramVBV, overwrite_a=True)
    // gramVBV is now R^{-1}.
    blockVectorV = np.dot(blockVectorV, gramVBV)
    if B is not None:

After Change


    VBV = blockVectorV.T.conj() @ blockVectorBV
    try:
        // VBV is a Cholesky factor from now on...
        VBV = cholesky(VBV, overwrite_a=True)
        VBV = inv(VBV, overwrite_a=True)
        blockVectorV = blockVectorV @ VBV
        // blockVectorV = (cho_solve((VBV.T, True), blockVectorV.T)).T
        if B is not None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scipy/scipy
Commit Name: 5ded2b734290836869a549a7c0e4be7d46d4bde4
Time: 2019-08-08
Author: andrew.knyazev@ucdenver.edu
File Name: scipy/sparse/linalg/eigen/lobpcg/lobpcg.py
Class Name:
Method Name: _b_orthonormalize


Project Name: cornellius-gp/gpytorch
Commit Name: 4712923043ccd23b746b6272fb9aa6f37b212dfa
Time: 2019-01-29
Author: jrg365@cornell.edu
File Name: gpytorch/kernels/inducing_point_kernel.py
Class Name: InducingPointKernel
Method Name: _inducing_inv_root


Project Name: scikit-learn/scikit-learn
Commit Name: 2e8ce318c69a329f0f0dd50bc7326ed38850a372
Time: 2019-09-16
Author: g.lemaitre58@gmail.com
File Name: sklearn/externals/_lobpcg.py
Class Name:
Method Name: _b_orthonormalize