d496aaefc795e176b615815e9f30f335860f013b,geomstats/lie_group.py,LieGroup,group_exp,#LieGroup#Any#Any#,48

Before Change


        of tangent vector tangent_vec.
        
        if base_point is None:
            return self.group_exp(tangent_vec, self.identity)
        else:
            raise NotImplementedError(
                "The group exponential is not implemented.")

After Change



            jacobian = self.jacobian_translation(point=base_point,
                                                 left_or_right="left")
            inv_jacobian = np.linalg.inv(jacobian)

            tangent_vec_at_identity = np.dot(inv_jacobian, tangent_vec)
            group_exp_from_identity = self.group_exp_from_identity(
                                           tangent_vec=tangent_vec_at_identity)

            group_exp = self.compose(base_point,
                                     group_exp_from_identity)
        group_exp = self.regularize(group_exp)
        return group_exp

    def group_log_from_identity(self, point):
        
        Compute the group logarithm
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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_exp


Project Name: geomstats/geomstats
Commit Name: 1ca70fa458265cfe492389da3539460b8233bf2a
Time: 2018-04-24
Author: ninamio78@gmail.com
File Name: geomstats/special_orthogonal_group.py
Class Name: SpecialOrthogonalGroup
Method Name: inverse


Project Name: bashtage/linearmodels
Commit Name: 9d48c8f93e471b670deaf2e4136cb023747c50bf
Time: 2017-02-23
Author: kevin.k.sheppard@gmail.com
File Name: panel/iv/model.py
Class Name: IVGMM
Method Name: fit