6125e2aae892d605b6bb27c311a11c83df5365c2,pyriemann/utils/base.py,,expm,#,47
Before Change
:returns: the matrix exponential
D , V = scipy.linalg.eigh(Ci)
D = numpy.diag(numpy.exp(D))
Out = numpy.dot(numpy.dot(V, D), V.T)
return Out
def invsqrtm(Ci):
Return the inverse matrix square root of a covariance matrix defined by :
After Change
:returns: the matrix exponential
return _matrix_operator(Ci, numpy.exp)
def invsqrtm(Ci):
Return the inverse matrix square root of a covariance matrix defined by :
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances Project Name: alexandrebarachant/pyRiemann
Commit Name: 6125e2aae892d605b6bb27c311a11c83df5365c2
Time: 2016-08-19
Author: alexandre.barachant@gmail.com
File Name: pyriemann/utils/base.py
Class Name:
Method Name: expm
Project Name: alexandrebarachant/pyRiemann
Commit Name: 6125e2aae892d605b6bb27c311a11c83df5365c2
Time: 2016-08-19
Author: alexandre.barachant@gmail.com
File Name: pyriemann/utils/base.py
Class Name:
Method Name: sqrtm
Project Name: alexandrebarachant/pyRiemann
Commit Name: 6125e2aae892d605b6bb27c311a11c83df5365c2
Time: 2016-08-19
Author: alexandre.barachant@gmail.com
File Name: pyriemann/utils/base.py
Class Name:
Method Name: logm