784586f02d063d39360a287422a6384f30f10d12,liegroups/se3.py,SE3,odot,#Any#Any#,66
Before Change
return result
elif len(p) == cls.dim:
result = np.zeros([4, 6])
result[0:3, 0:3] = p[3] * np.eye(3)
result[0:3, 3:6] = -SO3.wedge(p[0:3])
return result
After Change
result[:, 0:3, 3:6] = -SO3.wedge(p[:, 0:3])
else:
raise ValueError("p must have shape ({},), ({},), (N,{}) or (N,{})".format(
cls.dim - 1, cls.dim, cls.dim - 1, cls.dim))
return np.squeeze(result)
@classmethod
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
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: odot
Project Name: cornellius-gp/gpytorch
Commit Name: effb02b4aa65dc30bd59104437f4b08dee2d76e6
Time: 2018-03-15
Author: darbour@fb.com
File Name: gpytorch/kernels/spectral_mixture_kernel.py
Class Name: SpectralMixtureKernel
Method Name: __init__
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: odot
Project Name: cornellius-gp/gpytorch
Commit Name: f47e301e50018af3365e3717e3ab1d8e07d297b5
Time: 2018-03-15
Author: darbour@fb.com
File Name: gpytorch/kernels/spectral_mixture_kernel.py
Class Name: SpectralMixtureKernel
Method Name: __init__