3b368618290cc177f79bf56373648b3a183001d2,scipy/linalg/matfuncs.py,,expm3,#Any#Any#,141

Before Change


        t = "d"
    A = mat(A)
    eA = eye(*A.shape,**{"dtype":t})
    trm = mat(eA, copy=True)
    castfunc = cast[t]
    for k in range(1,q):
        trm *= A / castfunc(k)
        eA += trm

After Change


    trm = np.identity(n, dtype=t)
    castfunc = cast[t]
    for k in range(1, q):
        trm[:] = trm.dot(A) / castfunc(k)
        eA += trm
    return eA
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 3b368618290cc177f79bf56373648b3a183001d2
Time: 2014-02-10
Author: argriffi@ncsu.edu
File Name: scipy/linalg/matfuncs.py
Class Name:
Method Name: expm3


Project Name: interactiveaudiolab/nussl
Commit Name: 8b0a3c6ed9a0428be1bd26bfdcce35cb9af39f4a
Time: 2016-01-05
Author: eth@nmanilow.com
File Name: DUET.py
Class Name:
Method Name: find_peaks


Project Name: interactiveaudiolab/nussl
Commit Name: 8b0a3c6ed9a0428be1bd26bfdcce35cb9af39f4a
Time: 2016-01-05
Author: eth@nmanilow.com
File Name: DUET.py
Class Name:
Method Name: find_peaks2