120b9f6d5bb7c0c7dde5fb60cdb503dddaeb03a0,geomstats/geometry/lie_algebra.py,MatrixLieAlgebra,orthonormal_basis,#MatrixLieAlgebra#Any#,138
Before Change
basis : array-like, shape=[dim, {dim, [n,n]}
Orthonormal basis.
raise NotImplementedError("orthonormal basis not implemented")
After Change
basis : array-like, shape=[dim, n, n]
Orthonormal basis.
metric_matrix = self.reshape_metric_matrix(metric_matrix) + gs.eye(
self.n)
return self.basis / gs.sqrt(2 * metric_matrix)
def projection(self, mat):
Project a matrix to the Lie Algebra.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: geomstats/geomstats
Commit Name: 120b9f6d5bb7c0c7dde5fb60cdb503dddaeb03a0
Time: 2020-11-16
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/lie_algebra.py
Class Name: MatrixLieAlgebra
Method Name: orthonormal_basis
Project Name: rodluger/starry
Commit Name: 1df800bfd84cbdcdd9322166c746560058663f64
Time: 2019-11-05
Author: rodluger@gmail.com
File Name: starry/ops/ops.py
Class Name: OpsLD
Method Name: render
Project Name: MolSSI/QCEngine
Commit Name: c4c62503da100cbf491a761998c04d5e0db42413
Time: 2019-12-29
Author: ward.logan.t@gmail.com
File Name: qcengine/programs/nwchem/harvester.py
Class Name:
Method Name: harvest_hessian