784586f02d063d39360a287422a6384f30f10d12,liegroups/se2.py,SE2,__mul__,#SE2#,165

Before Change


        else:
            other = np.atleast_2d(other)
            if other.shape[0] == 1:
                other = other.T

            if other.shape[0] == self.dim - 1:
                // Transform one or more 2-vectors
                return np.squeeze(self.rot * other + np.atleast_2d(self.trans).T)
            elif other.shape[0] == self.dim:
                // Transform one or more 3-vectors
                return np.squeeze(self.as_matrix().dot(other))
            else:

After Change


            return SE2(self.rot * other.rot,
                       self.rot * other.trans + self.trans)
        else:
            other = np.atleast_2d(other)

            if other.shape[1] == self.dim - 1:
                // Transform one or more 2-vectors
                return np.squeeze(self.rot * other.T + np.atleast_2d(self.trans).T).T
            elif other.shape[1] == self.dim:
                // Transform one or more 3-vectors
                return np.squeeze(self.as_matrix().dot(other.T)).T
            else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se2.py
Class Name: SE2
Method Name: __mul__


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se3.py
Class Name: SE3
Method Name: __mul__


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/se2.py
Class Name: SE2
Method Name: __mul__