コード例 #1
0
ファイル: test_se2_torch.py プロジェクト: mttgdd/liegroups
def test_wedge_vee_batch():
    xis = torch.Tensor([[1, 2, 3], [4, 5, 6]])
    Xis = SE2.wedge(xis)
    assert (xis == SE2.vee(Xis)).all()
コード例 #2
0
ファイル: test_se2_torch.py プロジェクト: mttgdd/liegroups
def test_wedge_vee():
    xi = torch.Tensor([1, 2, 3])
    Xi = SE2.wedge(xi)
    assert (xi == SE2.vee(Xi)).all()