20801f5fa41aee153fda2a6b8cfa4dcbf98168b2,geomstats/geometry/lie_group.py,LieGroup,exp_not_from_identity,#LieGroup#Any#Any#Any#,193

Before Change



        if point_type == "matrix":
            tangent_vec = gs.to_ndarray(tangent_vec, to_ndim=3)
            raise NotImplementedError()

        raise ValueError("point_type should be \"vector\" or \"matrix\".")

    def exp(self, tangent_vec, base_point=None, point_type=None):

After Change


        elif point_type == "matrix":
            tangent_vec = gs.to_ndarray(tangent_vec, to_ndim=3)
            lie_vec = self.compose(
                self.inverse(base_point),
                tangent_vec
                )
            return self.compose(
                base_point, self.exp_from_identity(lie_vec, point_type))

    def exp(self, tangent_vec, base_point=None, point_type=None):
        Compute the group exponential at `base_point` of `tangent_vec`.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: 20801f5fa41aee153fda2a6b8cfa4dcbf98168b2
Time: 2020-04-07
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/lie_group.py
Class Name: LieGroup
Method Name: exp_not_from_identity


Project Name: geomstats/geomstats
Commit Name: d496aaefc795e176b615815e9f30f335860f013b
Time: 2018-01-22
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_log


Project Name: drckf/paysage
Commit Name: b7165339b75ab0c66628a00c611e7327a85844ec
Time: 2017-02-26
Author: charleskennethfisher@gmail.com
File Name: paysage/backends/pytorch_backend/matrix.py
Class Name:
Method Name: inv


Project Name: cornellius-gp/gpytorch
Commit Name: b0eecef1c8acdfe6e65f1e96ff6e26d2bc43e7db
Time: 2018-11-09
Author: balandat@fb.com
File Name: gpytorch/lazy/diag_lazy_tensor.py
Class Name: DiagLazyTensor
Method Name: inv_matmul