py
cpp_gencode
Se3_Dx_exp_x.cpp
Go to the documentation of this file.
1
Scalar
const
c0
= pow(omega[0], 2);
2
Scalar
const
c1
= pow(omega[1], 2);
3
Scalar
const
c2
= pow(omega[2], 2);
4
Scalar
const
c3
=
c0
+
c1
+
c2
;
5
Scalar
const
c4
= sqrt(
c3
);
6
Scalar
const
c5
= 1.0/
c4
;
7
Scalar
const
c6
= 0.5*
c4
;
8
Scalar
const
c7
= sin(
c6
);
9
Scalar
const
c8
=
c5
*
c7
;
10
Scalar
const
c9
= pow(
c3
, -3.0/2.0);
11
Scalar
const
c10
=
c7
*
c9
;
12
Scalar
const
c11
= 1.0/
c3
;
13
Scalar
const
c12
= 0.5*
c11
*cos(
c6
);
14
Scalar
const
c13
=
c10
*omega[0];
15
Scalar
const
c14
= omega[0]*omega[1];
16
Scalar
const
c15
=
c12
*
c14
-
c13
*omega[1];
17
Scalar
const
c16
= omega[0]*omega[2];
18
Scalar
const
c17
=
c12
*
c16
-
c13
*omega[2];
19
Scalar
const
c18
= omega[1]*omega[2];
20
Scalar
const
c19
= -
c10
*
c18
+
c12
*
c18
;
21
Scalar
const
c20
= 0.5*
c8
;
22
Scalar
const
c21
= sin(
c4
);
23
Scalar
const
c22
= -
c21
+
c4
;
24
Scalar
const
c23
= -
c1
;
25
Scalar
const
c24
= -
c2
;
26
Scalar
const
c25
=
c23
+
c24
;
27
Scalar
const
c26
=
c25
*
c9
;
28
Scalar
const
c27
= cos(
c4
);
29
Scalar
const
c28
= 1 -
c27
;
30
Scalar
const
c29
=
c11
*
c28
;
31
Scalar
const
c30
=
c29
*omega[2];
32
Scalar
const
c31
=
c22
*
c9
;
33
Scalar
const
c32
=
c31
*omega[1];
34
Scalar
const
c33
=
c32
*omega[0];
35
Scalar
const
c34
=
c29
*omega[1];
36
Scalar
const
c35
=
c31
*omega[2];
37
Scalar
const
c36
=
c35
*omega[0];
38
Scalar
const
c37
= 3*
c22
/pow(
c3
, 5.0/2.0);
39
Scalar
const
c38
=
c25
*
c37
;
40
Scalar
const
c39
=
c5
*omega[0];
41
Scalar
const
c40
= -
c27
*
c39
+
c39
;
42
Scalar
const
c41
=
c40
*
c9
;
43
Scalar
const
c42
=
c0
*
c37
;
44
Scalar
const
c43
=
c16
*
c41
+
c35
-
c42
*omega[2];
45
Scalar
const
c44
=
c21
*
c9
;
46
Scalar
const
c45
=
c14
*
c44
;
47
Scalar
const
c46
= 2*
c28
/pow(
c3
, 2);
48
Scalar
const
c47
=
c14
*
c46
;
49
Scalar
const
c48
=
c45
-
c47
;
50
Scalar
const
c49
=
c14
*
c41
+
c32
-
c42
*omega[1];
51
Scalar
const
c50
=
c16
*
c44
;
52
Scalar
const
c51
=
c16
*
c46
;
53
Scalar
const
c52
= -
c50
+
c51
;
54
Scalar
const
c53
= -2*
c32
;
55
Scalar
const
c54
=
c5
*omega[1];
56
Scalar
const
c55
= -
c27
*
c54
+
c54
;
57
Scalar
const
c56
=
c1
*
c44
;
58
Scalar
const
c57
=
c1
*
c46
;
59
Scalar
const
c58
=
c55
*
c9
;
60
Scalar
const
c59
=
c16
*
c58
;
61
Scalar
const
c60
=
c37
*omega[0];
62
Scalar
const
c61
= -
c18
*
c60
;
63
Scalar
const
c62
=
c29
+
c61
;
64
Scalar
const
c63
=
c31
*omega[0];
65
Scalar
const
c64
= -
c1
*
c60
+
c14
*
c58
+
c63
;
66
Scalar
const
c65
=
c18
*
c44
;
67
Scalar
const
c66
=
c18
*
c46
;
68
Scalar
const
c67
= -
c65
+
c66
;
69
Scalar
const
c68
= -2*
c35
;
70
Scalar
const
c69
=
c5
*omega[2];
71
Scalar
const
c70
= -
c27
*
c69
+
c69
;
72
Scalar
const
c71
=
c2
*
c44
;
73
Scalar
const
c72
=
c2
*
c46
;
74
Scalar
const
c73
=
c70
*
c9
;
75
Scalar
const
c74
=
c14
*
c73
;
76
Scalar
const
c75
= -
c29
+
c61
;
77
Scalar
const
c76
=
c65
-
c66
;
78
Scalar
const
c77
=
c16
*
c73
-
c2
*
c60
+
c63
;
79
Scalar
const
c78
= -
c0
;
80
Scalar
const
c79
=
c24
+
c78
;
81
Scalar
const
c80
=
c29
*omega[0];
82
Scalar
const
c81
=
c32
*omega[2];
83
Scalar
const
c82
= -2*
c63
;
84
Scalar
const
c83
=
c79
*
c9
;
85
Scalar
const
c84
=
c0
*
c44
;
86
Scalar
const
c85
=
c0
*
c46
;
87
Scalar
const
c86
=
c18
*
c41
;
88
Scalar
const
c87
=
c50
-
c51
;
89
Scalar
const
c88
=
c37
*
c79
;
90
Scalar
const
c89
= -
c45
+
c47
;
91
Scalar
const
c90
=
c37
*omega[2];
92
Scalar
const
c91
= -
c1
*
c90
+
c18
*
c58
+
c35
;
93
Scalar
const
c92
=
c37
*omega[1];
94
Scalar
const
c93
=
c18
*
c73
-
c2
*
c92
+
c32
;
95
Scalar
const
c94
=
c23
+
c78
;
96
Scalar
const
c95
=
c9
*
c94
;
97
result
[0] = 0;
98
result
[1] = 0;
99
result
[2] = 0;
100
result
[3] = -
c0
*
c10
+
c0
*
c12
+
c8
;
101
result
[4] =
c15
;
102
result
[5] =
c17
;
103
result
[6] = 0;
104
result
[7] = 0;
105
result
[8] = 0;
106
result
[9] =
c15
;
107
result
[10] = -
c1
*
c10
+
c1
*
c12
+
c8
;
108
result
[11] =
c19
;
109
result
[12] = 0;
110
result
[13] = 0;
111
result
[14] = 0;
112
result
[15] =
c17
;
113
result
[16] =
c19
;
114
result
[17] = -
c10
*
c2
+
c12
*
c2
+
c8
;
115
result
[18] = 0;
116
result
[19] = 0;
117
result
[20] = 0;
118
result
[21] = -
c20
*omega[0];
119
result
[22] = -
c20
*omega[1];
120
result
[23] = -
c20
*omega[2];
121
result
[24] =
c22
*
c26
+ 1;
122
result
[25] = -
c30
+
c33
;
123
result
[26] =
c34
+
c36
;
124
result
[27] = upsilon[0]*(
c26
*
c40
-
c38
*omega[0]) + upsilon[1]*(
c49
+
c52
) + upsilon[2]*(
c43
+
c48
);
125
result
[28] = upsilon[0]*(
c26
*
c55
-
c38
*omega[1] +
c53
) + upsilon[1]*(
c64
+
c67
) + upsilon[2]*(
c56
-
c57
+
c59
+
c62
);
126
result
[29] = upsilon[0]*(
c26
*
c70
-
c38
*omega[2] +
c68
) + upsilon[1]*(-
c71
+
c72
+
c74
+
c75
) + upsilon[2]*(
c76
+
c77
);
127
result
[30] =
c30
+
c33
;
128
result
[31] =
c31
*
c79
+ 1;
129
result
[32] = -
c80
+
c81
;
130
result
[33] = upsilon[0]*(
c49
+
c87
) + upsilon[1]*(
c40
*
c83
-
c60
*
c79
+
c82
) + upsilon[2]*(
c75
-
c84
+
c85
+
c86
);
131
result
[34] = upsilon[0]*(
c64
+
c76
) + upsilon[1]*(
c55
*
c83
-
c88
*omega[1]) + upsilon[2]*(
c89
+
c91
);
132
result
[35] = upsilon[0]*(
c62
+
c71
-
c72
+
c74
) + upsilon[1]*(
c68
+
c70
*
c83
-
c88
*omega[2]) + upsilon[2]*(
c52
+
c93
);
133
result
[36] = -
c34
+
c36
;
134
result
[37] =
c80
+
c81
;
135
result
[38] =
c31
*
c94
+ 1;
136
result
[39] = upsilon[0]*(
c43
+
c89
) + upsilon[1]*(
c62
+
c84
-
c85
+
c86
) + upsilon[2]*(
c40
*
c95
-
c60
*
c94
+
c82
);
137
result
[40] = upsilon[0]*(-
c56
+
c57
+
c59
+
c75
) + upsilon[1]*(
c48
+
c91
) + upsilon[2]*(
c53
+
c55
*
c95
-
c92
*
c94
);
138
result
[41] = upsilon[0]*(
c67
+
c77
) + upsilon[1]*(
c87
+
c93
) + upsilon[2]*(
c70
*
c95
-
c90
*
c94
);
c73
const Scalar c73
Definition:
Se3_Dx_exp_x.cpp:74
c49
const Scalar c49
Definition:
Se3_Dx_exp_x.cpp:50
c59
const Scalar c59
Definition:
Se3_Dx_exp_x.cpp:60
c46
const Scalar c46
Definition:
Se3_Dx_exp_x.cpp:47
c71
const Scalar c71
Definition:
Se3_Dx_exp_x.cpp:72
c90
const Scalar c90
Definition:
Se3_Dx_exp_x.cpp:91
c58
const Scalar c58
Definition:
Se3_Dx_exp_x.cpp:59
c56
const Scalar c56
Definition:
Se3_Dx_exp_x.cpp:57
c81
const Scalar c81
Definition:
Se3_Dx_exp_x.cpp:82
c50
const Scalar c50
Definition:
Se3_Dx_exp_x.cpp:51
c87
const Scalar c87
Definition:
Se3_Dx_exp_x.cpp:88
c84
const Scalar c84
Definition:
Se3_Dx_exp_x.cpp:85
c47
const Scalar c47
Definition:
Se3_Dx_exp_x.cpp:48
c19
const Scalar c19
Definition:
Se3_Dx_exp_x.cpp:20
c79
const Scalar c79
Definition:
Se3_Dx_exp_x.cpp:80
c17
const Scalar c17
Definition:
Se3_Dx_exp_x.cpp:18
c25
const Scalar c25
Definition:
Se3_Dx_exp_x.cpp:26
c88
const Scalar c88
Definition:
Se3_Dx_exp_x.cpp:89
c39
const Scalar c39
Definition:
Se3_Dx_exp_x.cpp:40
c55
const Scalar c55
Definition:
Se3_Dx_exp_x.cpp:56
c83
const Scalar c83
Definition:
Se3_Dx_exp_x.cpp:84
c66
const Scalar c66
Definition:
Se3_Dx_exp_x.cpp:67
c40
const Scalar c40
Definition:
Se3_Dx_exp_x.cpp:41
c20
const Scalar c20
Definition:
Se3_Dx_exp_x.cpp:21
c54
const Scalar c54
Definition:
Se3_Dx_exp_x.cpp:55
c7
const Scalar c7
Definition:
Se3_Dx_exp_x.cpp:8
c18
const Scalar c18
Definition:
Se3_Dx_exp_x.cpp:19
c14
const Scalar c14
Definition:
Se3_Dx_exp_x.cpp:15
c61
const Scalar c61
Definition:
Se3_Dx_exp_x.cpp:62
c70
const Scalar c70
Definition:
Se3_Dx_exp_x.cpp:71
c69
const Scalar c69
Definition:
Se3_Dx_exp_x.cpp:70
c31
const Scalar c31
Definition:
Se3_Dx_exp_x.cpp:32
c23
const Scalar c23
Definition:
Se3_Dx_exp_x.cpp:24
c28
const Scalar c28
Definition:
Se3_Dx_exp_x.cpp:29
c52
const Scalar c52
Definition:
Se3_Dx_exp_x.cpp:53
c95
const Scalar c95
Definition:
Se3_Dx_exp_x.cpp:96
c2
const Scalar c2
Definition:
Se3_Dx_exp_x.cpp:3
c16
const Scalar c16
Definition:
Se3_Dx_exp_x.cpp:17
c26
const Scalar c26
Definition:
Se3_Dx_exp_x.cpp:27
c64
const Scalar c64
Definition:
Se3_Dx_exp_x.cpp:65
c51
const Scalar c51
Definition:
Se3_Dx_exp_x.cpp:52
c76
const Scalar c76
Definition:
Se3_Dx_exp_x.cpp:77
c67
const Scalar c67
Definition:
Se3_Dx_exp_x.cpp:68
c80
const Scalar c80
Definition:
Se3_Dx_exp_x.cpp:81
c9
const Scalar c9
Definition:
Se3_Dx_exp_x.cpp:10
c77
const Scalar c77
Definition:
Se3_Dx_exp_x.cpp:78
c43
const Scalar c43
Definition:
Se3_Dx_exp_x.cpp:44
c35
const Scalar c35
Definition:
Se3_Dx_exp_x.cpp:36
c41
const Scalar c41
Definition:
Se3_Dx_exp_x.cpp:42
c21
const Scalar c21
Definition:
Se3_Dx_exp_x.cpp:22
c32
const Scalar c32
Definition:
Se3_Dx_exp_x.cpp:33
c37
const Scalar c37
Definition:
Se3_Dx_exp_x.cpp:38
c60
const Scalar c60
Definition:
Se3_Dx_exp_x.cpp:61
c57
const Scalar c57
Definition:
Se3_Dx_exp_x.cpp:58
c62
const Scalar c62
Definition:
Se3_Dx_exp_x.cpp:63
c36
const Scalar c36
Definition:
Se3_Dx_exp_x.cpp:37
c45
const Scalar c45
Definition:
Se3_Dx_exp_x.cpp:46
c93
const Scalar c93
Definition:
Se3_Dx_exp_x.cpp:94
c3
const Scalar c3
Definition:
Se3_Dx_exp_x.cpp:4
c34
const Scalar c34
Definition:
Se3_Dx_exp_x.cpp:35
c53
const Scalar c53
Definition:
Se3_Dx_exp_x.cpp:54
c78
const Scalar c78
Definition:
Se3_Dx_exp_x.cpp:79
c24
const Scalar c24
Definition:
Se3_Dx_exp_x.cpp:25
c10
const Scalar c10
Definition:
Se3_Dx_exp_x.cpp:11
c6
const Scalar c6
Definition:
Se3_Dx_exp_x.cpp:7
c44
const Scalar c44
Definition:
Se3_Dx_exp_x.cpp:45
c91
const Scalar c91
Definition:
Se3_Dx_exp_x.cpp:92
c65
const Scalar c65
Definition:
Se3_Dx_exp_x.cpp:66
c85
const Scalar c85
Definition:
Se3_Dx_exp_x.cpp:86
c92
const Scalar c92
Definition:
Se3_Dx_exp_x.cpp:93
c94
const Scalar c94
Definition:
Se3_Dx_exp_x.cpp:95
c22
const Scalar c22
Definition:
Se3_Dx_exp_x.cpp:23
c82
const Scalar c82
Definition:
Se3_Dx_exp_x.cpp:83
result
result[0]
Definition:
Se3_Dx_exp_x.cpp:97
c86
const Scalar c86
Definition:
Se3_Dx_exp_x.cpp:87
c68
const Scalar c68
Definition:
Se3_Dx_exp_x.cpp:69
c5
const Scalar c5
Definition:
Se3_Dx_exp_x.cpp:6
c42
const Scalar c42
Definition:
Se3_Dx_exp_x.cpp:43
c63
const Scalar c63
Definition:
Se3_Dx_exp_x.cpp:64
c11
const Scalar c11
Definition:
Se3_Dx_exp_x.cpp:12
c29
const Scalar c29
Definition:
Se3_Dx_exp_x.cpp:30
c33
const Scalar c33
Definition:
Se3_Dx_exp_x.cpp:34
c0
const Scalar c0
Definition:
Se3_Dx_exp_x.cpp:1
c48
const Scalar c48
Definition:
Se3_Dx_exp_x.cpp:49
c89
const Scalar c89
Definition:
Se3_Dx_exp_x.cpp:90
c13
const Scalar c13
Definition:
Se3_Dx_exp_x.cpp:14
c15
const Scalar c15
Definition:
Se3_Dx_exp_x.cpp:16
c30
const Scalar c30
Definition:
Se3_Dx_exp_x.cpp:31
c4
const Scalar c4
Definition:
Se3_Dx_exp_x.cpp:5
c74
const Scalar c74
Definition:
Se3_Dx_exp_x.cpp:75
c1
const Scalar c1
Definition:
Se3_Dx_exp_x.cpp:2
c72
const Scalar c72
Definition:
Se3_Dx_exp_x.cpp:73
c8
const Scalar c8
Definition:
Se3_Dx_exp_x.cpp:9
c38
const Scalar c38
Definition:
Se3_Dx_exp_x.cpp:39
c75
const Scalar c75
Definition:
Se3_Dx_exp_x.cpp:76
c12
const Scalar c12
Definition:
Se3_Dx_exp_x.cpp:13
c27
const Scalar c27
Definition:
Se3_Dx_exp_x.cpp:28
sophus
Author(s): Hauke Strasdat
autogenerated on Wed Mar 2 2022 01:01:48