071fb5fb20683946a33f40d28af466f8e9ffc1bd,liegroups/torch/so2.py,SO2,left_jacobian,#,41
Before Change
s = phi[large_angle_inds].sin()
c = phi[large_angle_inds].cos()
A = s / phi[large_angle_inds]
B = (1. - c) / phi[large_angle_inds]
jac_large_angle = phi.__class__(
len(large_angle_inds), cls.dim, cls.dim)
After Change
if len(large_angle_inds) > 0:
angle = phi[large_angle_inds]
s = angle.sin()
c = angle.cos()
A = (s / angle).unsqueeze_(dim=1).unsqueeze_(
dim=2).expand_as(jac[large_angle_inds]) * \
torch.eye(cls.dim).unsqueeze_(dim=0).expand_as(
jac[large_angle_inds])
B = ((1. - c) / angle).unsqueeze_(dim=1).unsqueeze_(
dim=2).expand_as(jac[large_angle_inds]) * \
cls.wedge(phi.__class__([1.]))
jac[large_angle_inds] = A + B
return jac.squeeze_()
@classmethod
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: utiasSTARS/liegroups
Commit Name: 071fb5fb20683946a33f40d28af466f8e9ffc1bd
Time: 2017-10-17
Author: clement.leopold@gmail.com
File Name: liegroups/torch/so2.py
Class Name: SO2
Method Name: left_jacobian
Project Name: tiberiu44/TTS-Cube
Commit Name: 359040379b6f3b8c742a9746d3709a32e454334f
Time: 2018-10-22
Author: tibi@racai.ro
File Name: cube/models/vocoder.py
Class Name: BeeCoder
Method Name: synthesize
Project Name: suavecode/SUAVE
Commit Name: bf73dfa5975c4c2e9e9870ea2e597adfde3063d8
Time: 2019-02-07
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Components/Energy/Networks/Tilt_Rotor.py
Class Name: Tilt_Rotor
Method Name: evaluate_thrust