codac4matlab 2.0.0.dev14__cp313-cp313-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- codac4matlab/__init__.py +4 -0
- codac4matlab/_core.cp313-win32.pyd +0 -0
- codac4matlab/_graphics.cp313-win32.pyd +0 -0
- codac4matlab/_unsupported.cp313-win32.pyd +0 -0
- codac4matlab/core/__init__.py +340 -0
- codac4matlab/graphics/__init__.py +1 -0
- codac4matlab/tests/__init__.py +1 -0
- codac4matlab/tests/test_AnalyticFunction.py +419 -0
- codac4matlab/tests/test_AnalyticTraj.py +63 -0
- codac4matlab/tests/test_Approx.py +27 -0
- codac4matlab/tests/test_BoolInterval.py +40 -0
- codac4matlab/tests/test_Color.py +79 -0
- codac4matlab/tests/test_ConvexPolygon.py +207 -0
- codac4matlab/tests/test_CtcAction.py +30 -0
- codac4matlab/tests/test_CtcCartProd.py +39 -0
- codac4matlab/tests/test_CtcCtcBoundary.py +48 -0
- codac4matlab/tests/test_CtcFixpoint.py +65 -0
- codac4matlab/tests/test_CtcInter.py +39 -0
- codac4matlab/tests/test_CtcInverse.py +157 -0
- codac4matlab/tests/test_CtcInverseNotIn.py +129 -0
- codac4matlab/tests/test_CtcLazy.py +50 -0
- codac4matlab/tests/test_CtcPolygon.py +91 -0
- codac4matlab/tests/test_CtcSegment.py +104 -0
- codac4matlab/tests/test_Ellipsoid.py +20 -0
- codac4matlab/tests/test_IntFullPivLU.py +57 -0
- codac4matlab/tests/test_Interval.py +230 -0
- codac4matlab/tests/test_IntervalMatrix.py +664 -0
- codac4matlab/tests/test_IntervalVector.py +657 -0
- codac4matlab/tests/test_Interval_operations.py +293 -0
- codac4matlab/tests/test_Matrix.py +68 -0
- codac4matlab/tests/test_OctaSym.py +32 -0
- codac4matlab/tests/test_Polygon.py +108 -0
- codac4matlab/tests/test_SampledTraj.py +113 -0
- codac4matlab/tests/test_Segment.py +123 -0
- codac4matlab/tests/test_SepCartProd.py +34 -0
- codac4matlab/tests/test_SepCtcBoundary.py +52 -0
- codac4matlab/tests/test_SepInverse.py +104 -0
- codac4matlab/tests/test_SepPolygon.py +102 -0
- codac4matlab/tests/test_SepProj.py +39 -0
- codac4matlab/tests/test_SepTransform.py +41 -0
- codac4matlab/tests/test_Vector.py +41 -0
- codac4matlab/tests/test_arithmetic_add.py +54 -0
- codac4matlab/tests/test_arithmetic_div.py +46 -0
- codac4matlab/tests/test_arithmetic_mul.py +114 -0
- codac4matlab/tests/test_arithmetic_sub.py +54 -0
- codac4matlab/tests/test_capd.py +19 -0
- codac4matlab/tests/test_cart_prod.py +37 -0
- codac4matlab/tests/test_eigen.py +19 -0
- codac4matlab/tests/test_geometry.py +136 -0
- codac4matlab/tests/test_hull.py +35 -0
- codac4matlab/tests/test_ibex.py +19 -0
- codac4matlab/tests/test_inversion.py +57 -0
- codac4matlab/tests/test_linear_ctc.py +77 -0
- codac4matlab/tests/test_operators.py +348 -0
- codac4matlab/tests/test_transformations.py +61 -0
- codac4matlab/unsupported/__init__.py +1 -0
- codac4matlab/version.py +1 -0
- codac4matlab-2.0.0.dev14.dist-info/METADATA +23 -0
- codac4matlab-2.0.0.dev14.dist-info/RECORD +61 -0
- codac4matlab-2.0.0.dev14.dist-info/WHEEL +5 -0
- codac4matlab-2.0.0.dev14.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
# Codac tests
|
|
4
|
+
#
|
|
5
|
+
# Most of these tests come from the IBEX library (Gilles Chabert)
|
|
6
|
+
# See more: https://ibex-lib.readthedocs.io
|
|
7
|
+
# They have been revised to fit with Codac (v2)
|
|
8
|
+
#
|
|
9
|
+
# ----------------------------------------------------------------------------
|
|
10
|
+
# \date 2024
|
|
11
|
+
# \author Gilles Chabert, (Simon Rohou)
|
|
12
|
+
# \copyright Copyright 2024 Codac Team
|
|
13
|
+
# \license GNU Lesser General Public License (LGPL)
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
from codac import *
|
|
17
|
+
import sys
|
|
18
|
+
import math
|
|
19
|
+
|
|
20
|
+
class TestInterval_bwd(unittest.TestCase):
|
|
21
|
+
|
|
22
|
+
def CHECK_bwd_trigo(self, y, x, expected_x):
|
|
23
|
+
_x = Interval()
|
|
24
|
+
_x = x; SinOp.bwd(y,_x); self.assertTrue(Approx(_x, 1e-5) == expected_x)
|
|
25
|
+
_x = -x; SinOp.bwd(-y,_x); self.assertTrue(Approx(_x, 1e-5) == -expected_x)
|
|
26
|
+
_x = x-Interval.half_pi(); CosOp.bwd(y,_x); self.assertTrue(Approx(_x, 1e-5) == expected_x-Interval.half_pi())
|
|
27
|
+
_x = x+Interval.half_pi(); CosOp.bwd(-y,_x); self.assertTrue(Approx(_x, 1e-5) == expected_x+Interval.half_pi())
|
|
28
|
+
|
|
29
|
+
def CHECK_bwd_pow(self, y, x, expected_x, p):
|
|
30
|
+
_x = Interval()
|
|
31
|
+
_x = x; PowOp.bwd(y,_x,p); self.assertTrue(Approx(_x,1e-5) == expected_x)
|
|
32
|
+
_x = -x;
|
|
33
|
+
if p%2 == 0:
|
|
34
|
+
PowOp.bwd(y,_x,p);
|
|
35
|
+
else:
|
|
36
|
+
PowOp.bwd(-y,_x,p);
|
|
37
|
+
self.assertTrue(Approx(_x,1e-5) == -expected_x)
|
|
38
|
+
|
|
39
|
+
def CHECK_bwd_mul(self, y, x1, x2, expected_x1, expected_x2):
|
|
40
|
+
_x1 = Interval(); _x2 = Interval()
|
|
41
|
+
|
|
42
|
+
_x1 = x1; _x2 = x2; MulOp.bwd(y,_x1,_x2)
|
|
43
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
44
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
45
|
+
|
|
46
|
+
_x1 = x1; _x2 = x2; MulOp.bwd(y,_x2,_x1)
|
|
47
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
48
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
49
|
+
|
|
50
|
+
_x1 = -x1; _x2 = x2; MulOp.bwd(-y,_x2,_x1)
|
|
51
|
+
self.assertTrue(Approx(_x1) == -expected_x1)
|
|
52
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
53
|
+
|
|
54
|
+
_x1 = x1; _x2 = -x2; MulOp.bwd(-y,_x2,_x1)
|
|
55
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
56
|
+
self.assertTrue(Approx(_x2) == -expected_x2)
|
|
57
|
+
|
|
58
|
+
def CHECK_bwd_div(self, y, x1, x2, expected_x1, expected_x2):
|
|
59
|
+
_x1 = Interval(); _x2 = Interval()
|
|
60
|
+
|
|
61
|
+
_x1 = x1; _x2 = x2; DivOp.bwd(y,_x1,_x2)
|
|
62
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
63
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
64
|
+
|
|
65
|
+
_x1 = -x1; _x2 = -x2; DivOp.bwd(y,_x1,_x2)
|
|
66
|
+
self.assertTrue(Approx(_x1) == -expected_x1)
|
|
67
|
+
self.assertTrue(Approx(_x2) == -expected_x2)
|
|
68
|
+
|
|
69
|
+
_x1 = -x1; _x2 = x2; DivOp.bwd(-y,_x1,_x2)
|
|
70
|
+
self.assertTrue(Approx(_x1) == -expected_x1)
|
|
71
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
72
|
+
|
|
73
|
+
_x1 = x1; _x2 = -x2; DivOp.bwd(-y,_x1,_x2)
|
|
74
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
75
|
+
self.assertTrue(Approx(_x2) == -expected_x2)
|
|
76
|
+
|
|
77
|
+
def CHECK_bwd_max(self, y, x1, x2, expected_x1, expected_x2):
|
|
78
|
+
_x1 = Interval(); _x2 = Interval()
|
|
79
|
+
|
|
80
|
+
_x1 = x1; _x2 = x2; MaxOp.bwd(y,_x1,_x2)
|
|
81
|
+
self.assertTrue(_x1 == expected_x1)
|
|
82
|
+
self.assertTrue(_x2 == expected_x2)
|
|
83
|
+
|
|
84
|
+
_x1 = x1; _x2 = x2; MaxOp.bwd(y,_x2,_x1)
|
|
85
|
+
self.assertTrue(_x1 == expected_x1)
|
|
86
|
+
self.assertTrue(_x2 == expected_x2)
|
|
87
|
+
|
|
88
|
+
_x1 = -x1; _x2 = -x2; MinOp.bwd(-y,_x1,_x2)
|
|
89
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
90
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
91
|
+
|
|
92
|
+
_x1 = -x1; _x2 = -x2; MinOp.bwd(-y,_x2,_x1)
|
|
93
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
94
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
95
|
+
|
|
96
|
+
def CHECK_bwd_atan(self, y, x, expected_x):
|
|
97
|
+
_x = Interval()
|
|
98
|
+
|
|
99
|
+
_x = x; AtanOp.bwd(y,_x)
|
|
100
|
+
self.assertTrue(_x == expected_x)
|
|
101
|
+
|
|
102
|
+
_x = -x; AtanOp.bwd(-y,_x)
|
|
103
|
+
self.assertTrue(_x == -expected_x)
|
|
104
|
+
|
|
105
|
+
def CHECK_bwd_add(self, y, x1, x2, expected_x1, expected_x2):
|
|
106
|
+
_x1 = Interval(); _x2 = Interval()
|
|
107
|
+
|
|
108
|
+
_x1 = x1; _x2 = x2; AddOp.bwd(y,_x1,_x2)
|
|
109
|
+
self.assertTrue(_x1 == expected_x1)
|
|
110
|
+
self.assertTrue(_x2 == expected_x2)
|
|
111
|
+
|
|
112
|
+
_x1 = x1; _x2 = x2; AddOp.bwd(y,_x2,_x1)
|
|
113
|
+
self.assertTrue(_x1 == expected_x1)
|
|
114
|
+
self.assertTrue(_x2 == expected_x2)
|
|
115
|
+
|
|
116
|
+
_x1 = -x1; _x2 = -x2; AddOp.bwd(-y,_x1,_x2)
|
|
117
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
118
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
119
|
+
|
|
120
|
+
_x1 = -x1; _x2 = -x2; AddOp.bwd(-y,_x2,_x1)
|
|
121
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
122
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
123
|
+
|
|
124
|
+
def CHECK_bwd_sub(self, y, x1, x2, expected_x1, expected_x2):
|
|
125
|
+
_x1 = Interval(); _x2 = Interval()
|
|
126
|
+
|
|
127
|
+
_x1 = x1; _x2 = x2; SubOp.bwd(y,_x1,_x2)
|
|
128
|
+
self.assertTrue(_x1 == expected_x1)
|
|
129
|
+
self.assertTrue(_x2 == expected_x2)
|
|
130
|
+
|
|
131
|
+
_x1 = -x1; _x2 = -x2; SubOp.bwd(-y,_x1,_x2)
|
|
132
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
133
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
134
|
+
|
|
135
|
+
_x1 = x1; _x2 = x2; SubOp.bwd(-y,_x2,_x1)
|
|
136
|
+
self.assertTrue(_x1 == expected_x1)
|
|
137
|
+
self.assertTrue(_x2 == expected_x2)
|
|
138
|
+
|
|
139
|
+
_x1 = -x1; _x2 = -x2; SubOp.bwd(y,_x2,_x1)
|
|
140
|
+
self.assertTrue(_x1 == -expected_x1)
|
|
141
|
+
self.assertTrue(_x2 == -expected_x2)
|
|
142
|
+
|
|
143
|
+
def CHECK_bwd_imod(self, p, x1, x2, expected_x1, expected_x2):
|
|
144
|
+
_x1 = Interval(); _x2 = Interval()
|
|
145
|
+
_x1 = x1; _x2 = x2; ModOp.bwd(_x1,_x2,p)
|
|
146
|
+
self.assertTrue(Approx(_x1) == expected_x1)
|
|
147
|
+
self.assertTrue(Approx(_x2) == expected_x2)
|
|
148
|
+
|
|
149
|
+
def tests_interval_bwd(self):
|
|
150
|
+
|
|
151
|
+
pi_lb = Interval.pi().lb()
|
|
152
|
+
pi_ub = Interval.pi().ub()
|
|
153
|
+
|
|
154
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(0,pi_ub/2.0), Interval(0.5,1.5))
|
|
155
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(0,5*pi_ub/2.0), Interval(0.5,2*pi_ub+1.5))
|
|
156
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-2*pi_ub,pi_ub/2.0), Interval(-2*pi_ub+0.5,1.5))
|
|
157
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-2*pi_ub,5*pi_ub/2.0), Interval(-2*pi_ub+0.5,2*pi_ub+1.5))
|
|
158
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-pi_lb-0.4,pi_ub/2.0), Interval(0.5,1.5))
|
|
159
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-pi_ub-0.5,pi_ub/2.0), Interval(-pi_ub-0.5,1.5))
|
|
160
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-3*pi_ub/2,pi_ub/2.0), Interval(-pi_ub-1.5,1.5))
|
|
161
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(0.5,pi_lb-1.6), Interval(0.5,1.5))
|
|
162
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(0.5,pi_ub-1.5), Interval(0.5,pi_ub-1.5))
|
|
163
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(0.5,pi_ub), Interval(0.5,pi_ub-0.5))
|
|
164
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-pi_ub-0.5,pi_ub-1.5), Interval(-pi_ub-0.5,pi_ub-1.5))
|
|
165
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-3*pi_ub/2,pi_ub), Interval(-pi_ub-1.5,pi_ub-0.5))
|
|
166
|
+
self.CHECK_bwd_trigo(sin(Interval(0.5,1.5)), Interval(-pi_ub/2,pi_ub/2.0), Interval(0.5,1.5))
|
|
167
|
+
self.CHECK_bwd_trigo(Interval(2,3), Interval(-oo,oo), Interval.empty())
|
|
168
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(0,pi_ub/2.0), Interval(0.5,pi_ub/2.0))
|
|
169
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(0,5*pi_ub/2.0), Interval(0.5,5*pi_ub/2.0))
|
|
170
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-2*pi_ub,pi_ub/2.0), Interval(-2*pi_ub+0.5,pi_ub/2.0))
|
|
171
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-2*pi_ub,5*pi_ub/2.0), Interval(-2*pi_ub+0.5,5*pi_ub/2.0))
|
|
172
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-pi_lb-0.4,pi_ub/2.0), Interval(0.5,pi_ub/2.0))
|
|
173
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-pi_ub-0.5,pi_ub/2.0), Interval(-pi_ub-0.5,pi_ub/2.0))
|
|
174
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-3*pi_ub/2,pi_ub/2.0), Interval(-3*pi_ub/2,pi_ub/2.0))
|
|
175
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(0.5,pi_ub), Interval(0.5,pi_ub-0.5))
|
|
176
|
+
self.CHECK_bwd_trigo(Interval(math.sin(0.5),1.0), Interval(-3*pi_ub/2,pi_ub), Interval(-3*pi_ub/2,pi_ub-0.5))
|
|
177
|
+
self.CHECK_bwd_trigo(Interval(1.0), Interval(4.0,6.0), Interval.empty())
|
|
178
|
+
|
|
179
|
+
x = Interval()
|
|
180
|
+
|
|
181
|
+
x = Interval(0,4); SqrOp.bwd(Interval(1,9),x); self.assertTrue(x == Interval(1,3))
|
|
182
|
+
x = Interval(0,2); SqrOp.bwd(Interval(1,9),x); self.assertTrue(x == Interval(1,2))
|
|
183
|
+
x = Interval(-4,2); SqrOp.bwd(Interval(1,9),x); self.assertTrue(x == Interval(-3,2))
|
|
184
|
+
x = Interval(-4,-3); SqrOp.bwd(Interval(1,9),x); self.assertTrue(x == Interval(-3,-3))
|
|
185
|
+
x = Interval(-4,1); SqrOp.bwd(Interval(-oo,9),x); self.assertTrue(x == Interval(-3,1))
|
|
186
|
+
x = Interval(-1,5); SqrOp.bwd(Interval(4,9),x); self.assertTrue(x == Interval(2,3))
|
|
187
|
+
x = Interval(-oo,oo); SqrOp.bwd(Interval(-4,-2),x); self.assertTrue(x == Interval.empty())
|
|
188
|
+
|
|
189
|
+
x = Interval(-oo,oo); LogOp.bwd(Interval(-oo,oo),x); self.assertTrue(x == Interval(0,oo))
|
|
190
|
+
x = Interval(-oo,oo); LogOp.bwd(Interval(-oo,0),x); self.assertTrue(x == Approx(Interval(0,1)))
|
|
191
|
+
x = Interval(0,1); LogOp.bwd(Interval(0,oo),x); self.assertTrue(x == Approx(Interval(1)))
|
|
192
|
+
x = Interval(-1,3); LogOp.bwd(Interval(0,1),x); self.assertTrue(x == Approx(Interval(1,math.exp(1.))))
|
|
193
|
+
x = Interval(-1,3); LogOp.bwd(Interval(-oo,1),x); self.assertTrue(x == Approx(Interval(0,math.exp(1.))))
|
|
194
|
+
x = Interval(-1,2); LogOp.bwd(Interval(-oo,1),x); self.assertTrue(x == Interval(0,2))
|
|
195
|
+
x = Interval(3,4); LogOp.bwd(Interval(-oo,1),x); self.assertTrue(x == Interval.empty())
|
|
196
|
+
x = Interval(-0.01,0.01); LogOp.bwd(Interval(-1,1),x); self.assertTrue(x == Interval.empty())
|
|
197
|
+
|
|
198
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(1,4), Interval(2,3), 4)
|
|
199
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(3,4), Interval(3,3), 4)
|
|
200
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(-1,4), Interval(2,3), 4)
|
|
201
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(-2,4), Interval(-2,3), 4)
|
|
202
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(-5,4), Interval(-3,3), 4)
|
|
203
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(1,1), Interval.empty(), 4)
|
|
204
|
+
self.CHECK_bwd_pow(Interval(16,81), Interval(4,4), Interval.empty(), 4)
|
|
205
|
+
self.CHECK_bwd_pow(Interval(8,27), Interval(1,4), Interval(2,3), 3)
|
|
206
|
+
self.CHECK_bwd_pow(Interval(8,27), Interval(3,4), Interval(3,3), 3)
|
|
207
|
+
self.CHECK_bwd_pow(Interval(8,27), Interval(-5,4), Interval(2,3), 3)
|
|
208
|
+
self.CHECK_bwd_pow(Interval(-8,27), Interval(-5,4), Interval(-2,3), 3)
|
|
209
|
+
self.CHECK_bwd_pow(Interval(-27,27), Interval(-5,4), Interval(-3,3), 3)
|
|
210
|
+
self.CHECK_bwd_pow(Interval(8,27), Interval(1,1), Interval.empty(), 3)
|
|
211
|
+
self.CHECK_bwd_pow(Interval(8,27), Interval(4,4), Interval.empty(), 3)
|
|
212
|
+
self.CHECK_bwd_pow(Interval(-27,-8), Interval(-1,-1), Interval.empty(), 3)
|
|
213
|
+
self.CHECK_bwd_pow(Interval(-27,-8), Interval(-4,-4), Interval.empty(), 3)
|
|
214
|
+
self.CHECK_bwd_pow(Interval(0,1), Interval(-10,10), Interval(-10,10), -2)
|
|
215
|
+
|
|
216
|
+
self.CHECK_bwd_mul(Interval(1,2),Interval(0.1,2.0),Interval(-10,2),Interval(0.5,2.0),Interval(0.5,2))
|
|
217
|
+
self.CHECK_bwd_mul(Interval.empty(),Interval(0.1,2.0),Interval(-10,2),Interval.empty(),Interval.empty())
|
|
218
|
+
self.CHECK_bwd_mul(Interval(0,0),Interval(0.1,2.0),Interval(-10,2),Interval(0.1,2.0),Interval(0,0))
|
|
219
|
+
self.CHECK_bwd_mul(Interval(0,0),Interval(-1,1),Interval(-1,1),Interval(-1,1),Interval(-1,1))
|
|
220
|
+
self.CHECK_bwd_mul(Interval(1,1),Interval(0,10),Interval(0,10),Interval(0.1,10.0),Interval(0.1,10.0))
|
|
221
|
+
|
|
222
|
+
self.CHECK_bwd_div(Interval(1,2), Interval(0,1), Interval(2,3), Interval.empty(), Interval.empty())
|
|
223
|
+
self.CHECK_bwd_div(Interval(1,2), Interval(0,1), Interval(1,3), 1., 1.)
|
|
224
|
+
self.CHECK_bwd_div(Interval(1,2), Interval(1,3), Interval(0,1), Interval(1,2), Interval(0.5,1))
|
|
225
|
+
self.CHECK_bwd_div(Interval(-1,1), Interval(-2,2), Interval(0,1), Interval(-1,1), Interval(0,1))
|
|
226
|
+
self.CHECK_bwd_div(Interval(-1,1), Interval(-2,2), 0., 0., 0.)
|
|
227
|
+
self.CHECK_bwd_div(0, Interval(-2,2), Interval(-2,2), 0, Interval(-2,2))
|
|
228
|
+
self.CHECK_bwd_div(Interval(0,oo), Interval(0,1), Interval(-1,0), 0, Interval(-1,0))
|
|
229
|
+
self.CHECK_bwd_div(Interval(next_float(0.),oo), Interval(0,1), Interval(-1,0), 0, 0)
|
|
230
|
+
self.CHECK_bwd_div(Interval(0,oo), Interval(next_float(0.),1), Interval(-1,0), Interval.empty(), Interval.empty())
|
|
231
|
+
|
|
232
|
+
self.CHECK_bwd_max(Interval.empty(), Interval(-2,-1), Interval(-2,3), Interval.empty(), Interval.empty())
|
|
233
|
+
self.CHECK_bwd_max(Interval(0,1), Interval(-2,-1), Interval(-2,3), Interval(-2,-1), Interval(0,1))
|
|
234
|
+
self.CHECK_bwd_max(Interval(0,1), Interval(-2,-1), Interval(2,3), Interval.empty(), Interval.empty())
|
|
235
|
+
self.CHECK_bwd_max(Interval(0,1), Interval(-2,0), Interval(-2,3), Interval(-2,0), Interval(-2,1))
|
|
236
|
+
self.CHECK_bwd_max(Interval(0,1), Interval(-2,2), Interval(-2,3), Interval(-2,1), Interval(-2,1))
|
|
237
|
+
|
|
238
|
+
a = Interval(); y = Interval()
|
|
239
|
+
|
|
240
|
+
a = Interval(math.pi/6.,math.pi/3.); y = Interval(.5,10.); x = Interval(.5,2.);
|
|
241
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(.5,2.*math.sqrt(3.))); self.assertTrue(Approx(x) == Interval(.5,2.))
|
|
242
|
+
a = Interval(math.pi/6.,math.pi/3.); y = Interval(.5,2.); x = Interval(.5,10.);
|
|
243
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(.5,2.)); self.assertTrue(Approx(x) == Interval(.5,2.*math.sqrt(3.)))
|
|
244
|
+
a = Interval(-math.pi/4.,math.pi/4.); y = Interval(1.,2.); x = Interval(.5,2.);
|
|
245
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(1.,2.)); self.assertTrue(Approx(x) == Interval(1.,2.))
|
|
246
|
+
a = Interval(-math.pi/2.,0.); y = Interval(.5,2.); x = Interval(.5,10.);
|
|
247
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval.empty()); self.assertTrue(Approx(x) == Interval.empty())
|
|
248
|
+
a = Interval(2.*math.pi,3.*math.pi); y = Interval(-.5,2.); x = Interval(.5,10.);
|
|
249
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval.empty()); self.assertTrue(Approx(x) == Interval.empty())
|
|
250
|
+
a = Interval(2*math.pi/3.,5.*math.pi/6.); y = Interval(0.,100.); x = Interval(-20.,-math.sqrt(3.)/2.);
|
|
251
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y,1e-10) == Interval(.5,20.*math.sqrt(3.))); self.assertTrue(Approx(x) == Interval(-20.,-math.sqrt(3.)/2))
|
|
252
|
+
a = Interval(-3*math.pi/4.,-2*math.pi/3.); y = Interval(-math.sqrt(3.)/2.,2.); x = Interval(-math.sqrt(2.)/2.,0.);
|
|
253
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(-math.sqrt(3.)/2.,0.)); self.assertTrue(Approx(x) == Interval(-math.sqrt(2.)/2.,0.))
|
|
254
|
+
a = Interval(-3*math.pi/4.,-2*math.pi/3.); y = Interval(-math.sqrt(3.)/2.,2.); x = Interval(-1.,-.5);
|
|
255
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(-math.sqrt(3.)/2.,-.5)); self.assertTrue(Approx(x) == Interval(-math.sqrt(3.)/2.,-.5))
|
|
256
|
+
a = Interval(-3*math.pi/4.,-math.pi/4.); y = Interval(-5.,-.5); x = Interval(-oo,oo);
|
|
257
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(-5.,-.5)); self.assertTrue(Approx(x) == Interval(-5.,5.))
|
|
258
|
+
a = Interval(-math.pi/3.,math.pi/4.); y = Interval(-oo,oo); x = Interval(sqrt(3.)/2.);
|
|
259
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == Interval(-1.5,math.sqrt(3.)/2.)); self.assertTrue(Approx(x) == Interval(math.sqrt(3.)/2.))
|
|
260
|
+
a = Interval.half_pi(); y = Interval(1); x = 0.;
|
|
261
|
+
Atan2Op.bwd(a,y,x); self.assertTrue(Approx(y) == 1.); self.assertTrue(Approx(x) == 0.)
|
|
262
|
+
|
|
263
|
+
x = Interval(0,15); SqrtOp.bwd(Interval(1,3), x); self.assertTrue(x == Interval(1,9))
|
|
264
|
+
x = Interval(0,2); SqrtOp.bwd(Interval(1,3), x); self.assertTrue(x == Interval(1,2))
|
|
265
|
+
x = Interval(-4,2); SqrtOp.bwd(Interval(1,3), x); self.assertTrue(x == Interval(1,2))
|
|
266
|
+
x = Interval(-4,-3); SqrtOp.bwd(Interval(1,3), x); self.assertTrue(x == Interval.empty())
|
|
267
|
+
x = Interval(-4,1); SqrtOp.bwd(Interval(-oo,9), x); self.assertTrue(x == Interval(0,1))
|
|
268
|
+
x = Interval(-1,5); SqrtOp.bwd(Interval(2,5), x); self.assertTrue(x == Interval(4,5))
|
|
269
|
+
x = Interval(-oo,oo); SqrtOp.bwd(Interval(-4,-2), x); self.assertTrue(x == Interval.empty())
|
|
270
|
+
|
|
271
|
+
x = Interval(-1.,3.); AtanOp.bwd(Interval(0.,math.pi/6.),x); self.assertTrue(x == tan(Interval(0.,math.pi/6.)))
|
|
272
|
+
x = Interval(0,5*math.pi/2.0); AtanOp.bwd(Interval(-math.pi,1.5),x); self.assertTrue(x == Interval(0,5*math.pi/2.0))
|
|
273
|
+
x = Interval(.2,.5); AtanOp.bwd(Interval(0.,math.pi/6.),x); self.assertTrue(x == Interval(.2,.5))
|
|
274
|
+
x = Interval(-100,100); AtanOp.bwd(Interval(-math.pi/2-0.1,math.pi/2+0.1),x); self.assertTrue(x == Interval(-100,100))
|
|
275
|
+
x = Interval(-100,100); AtanOp.bwd(Interval(math.pi/2+0.1,math.pi),x); self.assertTrue(x == Interval.empty())
|
|
276
|
+
x = Interval(-100,100); AtanOp.bwd(Interval(-math.pi,-math.pi/2-0.1),x); self.assertTrue(x == Interval.empty())
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
x = Interval(-oo,oo); AtanOp.bwd(Interval(-math.pi/4,math.pi/2.), x); self.assertTrue(x.lb() == -1); self.assertTrue(x.ub() > 1000)
|
|
280
|
+
x = Interval(-oo,oo); AtanOp.bwd(Interval(-math.pi/2,math.pi/4.), x); self.assertTrue(x.ub() == +1); self.assertTrue(x.lb() < -1000)
|
|
281
|
+
|
|
282
|
+
self.CHECK_bwd_add(Interval(1,3),Interval(1,2),Interval(-10,5),Interval(1,2),Interval(-1,2))
|
|
283
|
+
self.CHECK_bwd_add(Interval.empty(),Interval(0.1,2.0),Interval(-10,2),Interval.empty(),Interval.empty())
|
|
284
|
+
self.CHECK_bwd_add(Interval(0,0),Interval(0,0),Interval(.1,5),Interval.empty(),Interval.empty())
|
|
285
|
+
self.CHECK_bwd_add(Interval(0,0),Interval(-1,1),Interval(-1,1),Interval(-1,1),Interval(-1,1))
|
|
286
|
+
self.CHECK_bwd_add(Interval(-1,1),Interval(1,2),Interval(-10,5),Interval(1,2),Interval(-3,0))
|
|
287
|
+
|
|
288
|
+
self.CHECK_bwd_sub(Interval(1,3),Interval(1,2),Interval(-10,5),Interval(1,2),Interval(-2,1))
|
|
289
|
+
self.CHECK_bwd_sub(Interval.empty(),Interval(0.1,2.0),Interval(-10,2),Interval.empty(),Interval.empty())
|
|
290
|
+
self.CHECK_bwd_sub(Interval(0,0),Interval(0,0),Interval(.1,5),Interval.empty(),Interval.empty())
|
|
291
|
+
self.CHECK_bwd_sub(Interval(0,0),Interval(-1,1),Interval(-1,1),Interval(-1,1),Interval(-1,1))
|
|
292
|
+
self.CHECK_bwd_sub(Interval(-1,1),Interval(1,2),Interval(-10,5),Interval(1,2),Interval(0,3))
|
|
293
|
+
|
|
294
|
+
self.CHECK_bwd_imod(3.,Interval(3.,5.),Interval(1.,2.),Interval(4.,5.),Interval(1.,2.))
|
|
295
|
+
self.CHECK_bwd_imod(2.,Interval(7.,8.),Interval(.5,2.),Interval(7.,8.),Interval(1.,2.))
|
|
296
|
+
self.CHECK_bwd_imod(2.,Interval(7.,8.),Interval(0.,2.),Interval(7.,8.),Interval(0.,2.))
|
|
297
|
+
self.CHECK_bwd_imod(2.*math.pi,Interval(2.*math.pi,3.*math.pi),Interval(math.pi/6,math.pi/2.),Interval(13.*math.pi/6.,5.*math.pi/2.),Interval(math.pi/6,math.pi/2.))
|
|
298
|
+
self.CHECK_bwd_imod(2.*math.pi,Interval(3.*math.pi,4.*math.pi),Interval(math.pi/3,math.pi/2.),Interval.empty(),Interval.empty())
|
|
299
|
+
self.CHECK_bwd_imod(2.*math.pi,Interval(3.*math.pi,4.*math.pi),Interval(0.,math.pi/2.),Interval(4*math.pi),Interval(0.))
|
|
300
|
+
self.CHECK_bwd_imod(2.*math.pi,Interval(2.*math.pi,4.*math.pi),Interval(-math.pi/6,math.pi/2.),Interval(2.*math.pi,4.*math.pi),Interval(-math.pi/6,math.pi/2.))
|
|
301
|
+
self.CHECK_bwd_imod(2.*math.pi,Interval(7.*math.pi/4.,8.*math.pi/3),Interval(-math.pi/2,math.pi/2.),Interval(7.*math.pi/4.,5.*math.pi/2.),Interval(-math.pi/4,math.pi/2.))
|
|
302
|
+
|
|
303
|
+
x = Interval(-oo,oo); FloorOp.bwd(Interval.empty(),x); self.assertTrue(x == Interval.empty())
|
|
304
|
+
x = Interval(-oo,-0.000001); FloorOp.bwd(Interval(-oo,-1),x); self.assertTrue(x == Interval(-oo,-0.000001))
|
|
305
|
+
x = Interval(-oo, 0.000001); FloorOp.bwd(Interval(-oo,-1),x); self.assertTrue(x == Interval(-oo,0))
|
|
306
|
+
x = Interval(-oo, 0.000001); FloorOp.bwd(Interval(-oo,-0.000001),x); self.assertTrue(x == Interval(-oo,0))
|
|
307
|
+
x = Interval(0.000001,oo); FloorOp.bwd(Interval(1,oo),x); self.assertTrue(x == Interval(1,oo))
|
|
308
|
+
x = Interval(-0.000001,oo); FloorOp.bwd(Interval(1,oo),x); self.assertTrue(x == Interval(1,oo))
|
|
309
|
+
x = Interval(-0.000001,oo); FloorOp.bwd(Interval(0.000001,oo),x); self.assertTrue(x == Interval(1,oo))
|
|
310
|
+
x = Interval(0.01,2.99); FloorOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval(1,2.99))
|
|
311
|
+
x = Interval(2.99,3.01); FloorOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval(2.99,3))
|
|
312
|
+
x = Interval(3.01,3.99); FloorOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval.empty())
|
|
313
|
+
x = Interval(0.01,2.99); FloorOp.bwd(Interval(0.01,2.99),x); self.assertTrue(x == Interval(1,2.99))
|
|
314
|
+
|
|
315
|
+
x = Interval(-oo,oo); CeilOp.bwd(Interval.empty(),x); self.assertTrue(x == Interval.empty())
|
|
316
|
+
x = Interval(-oo,-0.000001); CeilOp.bwd(Interval(-oo,-1),x); self.assertTrue(x == Interval(-oo,-1))
|
|
317
|
+
x = Interval(-oo,0.000001); CeilOp.bwd(Interval(-oo,-1),x); self.assertTrue(x == Interval(-oo,-1))
|
|
318
|
+
x = Interval(-oo,0.000001); CeilOp.bwd(Interval(-oo,-0.000001),x); self.assertTrue(x == Interval(-oo,-1))
|
|
319
|
+
x = Interval(0.000001,oo); CeilOp.bwd(Interval(1,oo),x); self.assertTrue(x == Interval(0.000001,oo))
|
|
320
|
+
x = Interval(-0.000001,oo); CeilOp.bwd(Interval(1,oo),x); self.assertTrue(x == Interval(0,oo))
|
|
321
|
+
x = Interval(-0.000001,oo); CeilOp.bwd(Interval(0.000001,oo),x); self.assertTrue(x == Interval(0,oo))
|
|
322
|
+
x = Interval(0.01,2.99); CeilOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval(0.01,2))
|
|
323
|
+
x = Interval(-0.01,0.01); CeilOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval(0,0.01))
|
|
324
|
+
x = Interval(-1.01,-0.01); CeilOp.bwd(Interval(1,2),x); self.assertTrue(x == Interval.empty())
|
|
325
|
+
x = Interval(0.01,2.99); CeilOp.bwd(Interval(0.01,2.99),x); self.assertTrue(x == Interval(0.01,2))
|
|
326
|
+
|
|
327
|
+
x = Interval(-1.57079632679489678, 1.1780972450961728626)
|
|
328
|
+
self.assertFalse(tan(x).is_empty())
|
|
329
|
+
|
|
330
|
+
def tests_cross_prod(self):
|
|
331
|
+
|
|
332
|
+
self.assertTrue(
|
|
333
|
+
CrossProdOp.fwd(Vector([1,0,0]),Vector([0,1,0])) == Vector([0,0,1]))
|
|
334
|
+
self.assertTrue(
|
|
335
|
+
CrossProdOp.fwd(Vector([0,1,0]),Vector([0,0,1])) == Vector([1,0,0]))
|
|
336
|
+
self.assertTrue(
|
|
337
|
+
CrossProdOp.fwd(Vector([0,0,1]),Vector([1,0,0])) == Vector([0,1,0]))
|
|
338
|
+
self.assertTrue(
|
|
339
|
+
CrossProdOp.fwd(Vector([1,2,3]),Vector([2,4,6])) == Vector([0,0,0]))
|
|
340
|
+
|
|
341
|
+
def tests_mat_operator(self):
|
|
342
|
+
|
|
343
|
+
x1,x2,x3 = IntervalVector([2,3]), IntervalVector([4,5]), IntervalVector([6,7])
|
|
344
|
+
self.assertTrue(MatrixOp.fwd(x1,x2,x3) == IntervalMatrix([[2,4,6],[3,5,7]]))
|
|
345
|
+
self.assertTrue(MatrixOp.fwd(x1) == IntervalMatrix([[2],[3]]))
|
|
346
|
+
|
|
347
|
+
if __name__ == '__main__':
|
|
348
|
+
unittest.main()
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
# Codac tests
|
|
4
|
+
# ----------------------------------------------------------------------------
|
|
5
|
+
# \date 2024
|
|
6
|
+
# \author Simon Rohou
|
|
7
|
+
# \copyright Copyright 2024 Codac Team
|
|
8
|
+
# \license GNU Lesser General Public License (LGPL)
|
|
9
|
+
|
|
10
|
+
import unittest
|
|
11
|
+
from codac import *
|
|
12
|
+
import sys
|
|
13
|
+
|
|
14
|
+
class TestTransformations(unittest.TestCase):
|
|
15
|
+
|
|
16
|
+
def tests_affine_transformation(self):
|
|
17
|
+
|
|
18
|
+
# Building the src trajectory analytically
|
|
19
|
+
|
|
20
|
+
t = ScalarVar()
|
|
21
|
+
f_src = AnalyticFunction([t], [
|
|
22
|
+
cos(2*t)+0.1*cos(10*t),
|
|
23
|
+
2*sin(t)+0.1*sin(10*t)
|
|
24
|
+
])
|
|
25
|
+
|
|
26
|
+
src = AnalyticTraj(f_src,[-1,3]).sampled(0.01)
|
|
27
|
+
|
|
28
|
+
# The dst trajectory is obtained analytically with a
|
|
29
|
+
# transformation described by the parameters:
|
|
30
|
+
|
|
31
|
+
a = PI + PI/3 # rotation angle
|
|
32
|
+
b = 2.5 # scaling
|
|
33
|
+
T = Vector([ -3.2, 2.5 ]) # translation
|
|
34
|
+
f_dst = AnalyticFunction([t], [
|
|
35
|
+
b*cos(a)*f_src(t)[0]-b*sin(a)*f_src(t)[1] + T[0] + 0.05*cos(100*t),
|
|
36
|
+
b*sin(a)*f_src(t)[0]+b*cos(a)*f_src(t)[1] + T[1] + 0.05*sin(100*t)
|
|
37
|
+
])
|
|
38
|
+
|
|
39
|
+
dst = AnalyticTraj(f_dst,[-1,3]).sampled(0.01)
|
|
40
|
+
|
|
41
|
+
# Computing the transformation
|
|
42
|
+
|
|
43
|
+
tr = affine_transformation(src, dst)
|
|
44
|
+
|
|
45
|
+
# Reconstructing the dst trajectory using the estimated transformation
|
|
46
|
+
|
|
47
|
+
dst_estim = SampledVectorTraj()
|
|
48
|
+
for ti,src_i in src:
|
|
49
|
+
dst_estim.set(ti, tr*src_i)
|
|
50
|
+
|
|
51
|
+
scale = tr.linear().col(0).norm()
|
|
52
|
+
rotation_matrix = tr.linear() / scale
|
|
53
|
+
rotation_angle = atan2(rotation_matrix(1, 0), rotation_matrix(0, 0))
|
|
54
|
+
translation = tr.translation()
|
|
55
|
+
|
|
56
|
+
self.assertTrue(Approx(scale,1e-3) == b)
|
|
57
|
+
self.assertTrue(Approx(rotation_angle,1e-3) == (a-2*PI))
|
|
58
|
+
self.assertTrue(Approx(Vector(translation),1e-3) == T)
|
|
59
|
+
|
|
60
|
+
if __name__ == '__main__':
|
|
61
|
+
unittest.main()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from codac4matlab._unsupported import *
|
codac4matlab/version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__="2.0.0"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: codac4matlab
|
|
3
|
+
Version: 2.0.0.dev14
|
|
4
|
+
Summary: Codac is a library providing tools for constraint programming over reals and trajectories.
|
|
5
|
+
Home-page: http://codac.io
|
|
6
|
+
Author: Simon Rohou, Benoit Desrochers, Fabrice Le Bars
|
|
7
|
+
Author-email: simon.rohou@ensta.fr
|
|
8
|
+
License: LGPLv3+
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
11
|
+
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
|
|
12
|
+
Requires-Dist: pip>=19.0.0
|
|
13
|
+
Requires-Dist: vibes
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: home-page
|
|
19
|
+
Dynamic: license
|
|
20
|
+
Dynamic: requires-dist
|
|
21
|
+
Dynamic: summary
|
|
22
|
+
|
|
23
|
+
Codac is a library providing tools for constraint programming over reals and trajectories.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
codac4matlab/__init__.py,sha256=r-pCygYV4CF5tKiia4HNtmZoAOSRYgexPuKEKSPUcd0,142
|
|
2
|
+
codac4matlab/_core.cp313-win32.pyd,sha256=rqKgkX4IXn0PiQDrIIuPlL8LJSyV5gCRJsXSJs_qMMg,5288960
|
|
3
|
+
codac4matlab/_graphics.cp313-win32.pyd,sha256=YbZAZnItB7_iPDCJicLtugJwZeHyYeEidDxVAyTjTM8,1075712
|
|
4
|
+
codac4matlab/_unsupported.cp313-win32.pyd,sha256=USlsNL8uKcfgLgiWncS_R4s7eAKjiEBljXa_80BBBE0,110592
|
|
5
|
+
codac4matlab/version.py,sha256=6aTsaEKyBHFdzQjDU6jvkF0BXPK1486LAfHKk-VQHKc,19
|
|
6
|
+
codac4matlab/core/__init__.py,sha256=Ykq7hulUGDJtFs5vXg-BjxVgu6Qp4H4EdCmiAb7sNv0,10491
|
|
7
|
+
codac4matlab/graphics/__init__.py,sha256=JhVtofKJJLBAFAJOy3ecPPjlyk4eXgVmGHCK9ZOT7NE,36
|
|
8
|
+
codac4matlab/tests/__init__.py,sha256=p2nc-vz1OyekHP7d82yXsE2hNAtyHREmhuKHBZDS4dg,67
|
|
9
|
+
codac4matlab/tests/test_AnalyticFunction.py,sha256=7RRE5TVxibOJSvOhE8sltONLM0V4NAyL3epCE-EBeHA,21919
|
|
10
|
+
codac4matlab/tests/test_AnalyticTraj.py,sha256=kdeWN85YLHbFRkGHzubsYR_J6-H7tSwmjCV2701UW_U,2454
|
|
11
|
+
codac4matlab/tests/test_Approx.py,sha256=SoJWfJ-ErmDnd5bot-tetiwSDDu6ZtPGaqzEC10pOA0,934
|
|
12
|
+
codac4matlab/tests/test_BoolInterval.py,sha256=NTBtQqXl2ZR6YUXsIYWSrYeKrSulAqsoWaYVOPTadec,2184
|
|
13
|
+
codac4matlab/tests/test_Color.py,sha256=BwMGjM4b1AIa7tuLUWExN9Oszamcv9_sRe5ZgkX7qE4,2551
|
|
14
|
+
codac4matlab/tests/test_ConvexPolygon.py,sha256=r4e0iYV2OoCsCR2OudrDzmPfK3VCBvBtYvyHqVNEpV0,7597
|
|
15
|
+
codac4matlab/tests/test_CtcAction.py,sha256=kdri7lzbw_WUV3WuUVG45BgM7NfKpSDHw6-Erd65iQU,811
|
|
16
|
+
codac4matlab/tests/test_CtcCartProd.py,sha256=tm9ljT5YyFiKh88cN7c10EKU4qGtJ8ErOztxZVK3fYM,1080
|
|
17
|
+
codac4matlab/tests/test_CtcCtcBoundary.py,sha256=xg-ppWNJLTGrQOY2hPk75sfWCuV1jSUmVpjZUSqtUv8,1609
|
|
18
|
+
codac4matlab/tests/test_CtcFixpoint.py,sha256=zsA-c7chkGI-FpyP-IG7MGikZf5fg-PRiMj2CHMnO_o,2027
|
|
19
|
+
codac4matlab/tests/test_CtcInter.py,sha256=z_51zQ4pOEWKnSkfPBhEh5gV0LuAsAb4wLRq-39yw5o,1017
|
|
20
|
+
codac4matlab/tests/test_CtcInverse.py,sha256=aNTPdfvg7eklZ3cgTBbfE5YlSBYWF74pNkJyMKAJ5A0,5055
|
|
21
|
+
codac4matlab/tests/test_CtcInverseNotIn.py,sha256=PsG_i0qOf8e1c5zribWgLTJlVyt8EnHkKjisU0PKq64,4314
|
|
22
|
+
codac4matlab/tests/test_CtcLazy.py,sha256=Pix60QnocuggEU7jhCTbKQa_85njlEZSekzPdrXQJaE,1391
|
|
23
|
+
codac4matlab/tests/test_CtcPolygon.py,sha256=SYU1Dd32Erh_I2fRbgMehVlQEOFoIQB5_DVwjADP2OQ,2287
|
|
24
|
+
codac4matlab/tests/test_CtcSegment.py,sha256=p7YJTtyhVegZhAZV3c9gTEDl-Djak0z95u33Fdr1sWk,2779
|
|
25
|
+
codac4matlab/tests/test_Ellipsoid.py,sha256=mEfrDI14hwj_ormNlyjz-5BglLXs9R8ubgQZh34Qzg0,483
|
|
26
|
+
codac4matlab/tests/test_IntFullPivLU.py,sha256=YWvb2k9sw8dh42dMIwqOpp2FwEyUqwMTSBTWLUJs9W4,1769
|
|
27
|
+
codac4matlab/tests/test_Interval.py,sha256=W2jIft8UkIHVnzlFLy-n8aV07LzfreU8y5S68v0-sT8,10028
|
|
28
|
+
codac4matlab/tests/test_IntervalMatrix.py,sha256=p7gqJNjzqFDZCfTcvjb5j3vEdb1uzevrYK_z-FhRb8Y,17676
|
|
29
|
+
codac4matlab/tests/test_IntervalVector.py,sha256=IsRJEHZBuzvndoSRRH0l6cG9-0oA4LAECvpghZT55eU,22167
|
|
30
|
+
codac4matlab/tests/test_Interval_operations.py,sha256=Rq9aQ79CNarnT0KVn_0dGOWidXfGf-LHB1SXARv036c,15513
|
|
31
|
+
codac4matlab/tests/test_Matrix.py,sha256=dZdgIiRTI-QJWCxfe1tVUDeC6pkj7PKPcFl22lJ5BXw,1250
|
|
32
|
+
codac4matlab/tests/test_OctaSym.py,sha256=Q_y1QTNbnGfRLTpi-9aElsdvwV5by51rdWsyZO5gcdc,895
|
|
33
|
+
codac4matlab/tests/test_Polygon.py,sha256=yq_laPgY0jIAj1UHT2T4WwrNff9XRmo9hyNh25gKyLw,4807
|
|
34
|
+
codac4matlab/tests/test_SampledTraj.py,sha256=PvuR5qxeL6M7qYue-1isQBls1q6rc2UlyzO0FUtyK0w,3405
|
|
35
|
+
codac4matlab/tests/test_Segment.py,sha256=M7jaUioE3ETEXfqle6IpyYQ4_aMSQ_lUEKM-WwqBt2M,6721
|
|
36
|
+
codac4matlab/tests/test_SepCartProd.py,sha256=TSNgyfdGNgL_IHGtospr1ziLIguYcBNk8RUMY5uBl40,1073
|
|
37
|
+
codac4matlab/tests/test_SepCtcBoundary.py,sha256=Eq-bpRkE6StgSryHWKpCcB_oc4_EhNox2ACqS_N8TNc,1841
|
|
38
|
+
codac4matlab/tests/test_SepInverse.py,sha256=ophcxXmsz_098c8HObBU2qbsSDqKDfKhh5B8b-iby0g,3500
|
|
39
|
+
codac4matlab/tests/test_SepPolygon.py,sha256=IOgUNJB9EQ09y338sQq7WXIkc_3FBWCGlaj11veskk4,2780
|
|
40
|
+
codac4matlab/tests/test_SepProj.py,sha256=TuIjTGLsOeg3lsx_kySdIT8omaiSWreJJLfSwN81YiY,1284
|
|
41
|
+
codac4matlab/tests/test_SepTransform.py,sha256=hD_F2axo6uSq8_E9nTnU9NRv2Hy_d1PQ281kuLiUs68,1425
|
|
42
|
+
codac4matlab/tests/test_Vector.py,sha256=D3Kz8mdZFOvdfTuRqe780BwdYWFJ5roUHCyWMdGRUXU,928
|
|
43
|
+
codac4matlab/tests/test_arithmetic_add.py,sha256=zVcHgrrF-hqLyycDQQ3P0bWC13t5ci-ry_Z_mHztGf8,3834
|
|
44
|
+
codac4matlab/tests/test_arithmetic_div.py,sha256=euBbRVeU1ec5IvxcIthQ3R4gGwIlynmJAGldBz5wYII,2362
|
|
45
|
+
codac4matlab/tests/test_arithmetic_mul.py,sha256=fgD3NDlJiF8jEC8bhXJCRIMGR3fkknWliQrm_GwPNXI,8020
|
|
46
|
+
codac4matlab/tests/test_arithmetic_sub.py,sha256=b4YHE5Zh2pWkQamF-LA3kFQmMrY24YuG44xCNzjFj68,3886
|
|
47
|
+
codac4matlab/tests/test_capd.py,sha256=GoC6zzah0XZ1JjuQlfeSUlXf0i2LYwct09g0G9MgbFk,451
|
|
48
|
+
codac4matlab/tests/test_cart_prod.py,sha256=2Boh-vsxmqwxis83VTmpiL6MwBE8zeO4F5DxwNcejwU,1692
|
|
49
|
+
codac4matlab/tests/test_eigen.py,sha256=QeCe6RHPnCZCiCv_ap0tnSzhl7AT_dSe9MZsOCbUqS0,452
|
|
50
|
+
codac4matlab/tests/test_geometry.py,sha256=82nOVO2-vPwjR1ZYCKUqCL59iHVGsA5sLsbgNxX7S3E,5885
|
|
51
|
+
codac4matlab/tests/test_hull.py,sha256=z21u9wvlK5igijQBUlUaIyfPViPpeV4SFnm5BgoJM88,1574
|
|
52
|
+
codac4matlab/tests/test_ibex.py,sha256=EUmtn72dyyLwoHHi04mph0a2Ud-_M3JVzmBkwUCNHXg,484
|
|
53
|
+
codac4matlab/tests/test_inversion.py,sha256=iY8dE4ik-4baVdHt3CvOHWXiOlJCbYu4oDZU9w2NOQw,1273
|
|
54
|
+
codac4matlab/tests/test_linear_ctc.py,sha256=2KPiRlVF1_Diy-zfmLqZj9sJdu7esRFE7HpCU0Xj3Mc,2336
|
|
55
|
+
codac4matlab/tests/test_operators.py,sha256=UmXAJx3HQtb_TLJ0Msy5MXoitrXvdQb1OqEuKfaorAY,22363
|
|
56
|
+
codac4matlab/tests/test_transformations.py,sha256=5-ZdSHSBYvV3WesAa-6ikSFDwWf7mAz5Cqb-3OiU0WE,1788
|
|
57
|
+
codac4matlab/unsupported/__init__.py,sha256=z5Xm26-xg1FntpomMqRsqcyqAI8y8C4Db9FMtfx4skI,39
|
|
58
|
+
codac4matlab-2.0.0.dev14.dist-info/METADATA,sha256=owekbvkAdko9gN2yNA2Cx7O8Zm4V_ecf3YaY7Fv1VNg,813
|
|
59
|
+
codac4matlab-2.0.0.dev14.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
60
|
+
codac4matlab-2.0.0.dev14.dist-info/top_level.txt,sha256=ZeLeS-8xPyH0yVFjcLqUgqnqV4umnaerrPV-cSX1c_U,13
|
|
61
|
+
codac4matlab-2.0.0.dev14.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
codac4matlab
|