open-space-toolkit-mathematics 4.4.1__py312-none-manylinux2014_aarch64.whl → 4.5.0__py312-none-manylinux2014_aarch64.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.
Potentially problematic release.
This version of open-space-toolkit-mathematics might be problematic. Click here for more details.
- {open_space_toolkit_mathematics-4.4.1.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/METADATA +1 -1
- {open_space_toolkit_mathematics-4.4.1.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/RECORD +20 -20
- {open_space_toolkit_mathematics-4.4.1.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/WHEEL +1 -1
- ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-312-aarch64-linux-gnu.so +0 -0
- ostk/mathematics/curve_fitting/__init__.pyi +6 -6
- ostk/mathematics/curve_fitting/interpolator.pyi +18 -9
- ostk/mathematics/geometry/__init__.pyi +0 -6
- ostk/mathematics/geometry/d2/__init__.pyi +0 -18
- ostk/mathematics/geometry/d2/object.pyi +0 -24
- ostk/mathematics/geometry/d3/__init__.pyi +0 -15
- ostk/mathematics/geometry/d3/object.pyi +0 -42
- ostk/mathematics/geometry/d3/transformation/rotation.pyi +0 -18
- ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
- ostk/mathematics/object.pyi +0 -6
- ostk/mathematics/solver.pyi +0 -9
- ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py +10 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py +10 -0
- ostk/mathematics/test/curve_fitting/interpolator/test_linear.py +10 -0
- {open_space_toolkit_mathematics-4.4.1.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_mathematics-4.4.1.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/zip-safe +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
2
|
-
ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-312-aarch64-linux-gnu.so,sha256=
|
|
2
|
+
ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-312-aarch64-linux-gnu.so,sha256=HY8pAppO1S77SSfTZmocD1bu9S0Dol0bbQRD1XzZfJk,1599216
|
|
3
3
|
ostk/mathematics/__init__.py,sha256=U81I6jh2hIPyuT4dtZjNcLi-CQ8yXIvtFn32tVK1YCY,92
|
|
4
4
|
ostk/mathematics/__init__.pyi,sha256=J_InNBNyrZgyfVQ-r8PVZq37Wb9kM0acE4BZW2Jwo14,484
|
|
5
|
-
ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=
|
|
6
|
-
ostk/mathematics/object.pyi,sha256=
|
|
7
|
-
ostk/mathematics/solver.pyi,sha256=
|
|
8
|
-
ostk/mathematics/curve_fitting/__init__.pyi,sha256=
|
|
9
|
-
ostk/mathematics/curve_fitting/interpolator.pyi,sha256=
|
|
10
|
-
ostk/mathematics/geometry/__init__.pyi,sha256=
|
|
11
|
-
ostk/mathematics/geometry/d2/__init__.pyi,sha256
|
|
12
|
-
ostk/mathematics/geometry/d2/object.pyi,sha256=
|
|
13
|
-
ostk/mathematics/geometry/d3/__init__.pyi,sha256=
|
|
14
|
-
ostk/mathematics/geometry/d3/object.pyi,sha256=
|
|
5
|
+
ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=LgvVmjOeIxw4RuIUwG-AM9elHonaq7lXWdBZJWt7YcA,2446496
|
|
6
|
+
ostk/mathematics/object.pyi,sha256=1EiliU2CC4y1wNHzK9VRCUVapd5tENdPbRvdQQil5hE,4177
|
|
7
|
+
ostk/mathematics/solver.pyi,sha256=hlbvpJMw3YhgvzhxluDMnh3FhBsBmpddBzcYDfWdIiQ,5362
|
|
8
|
+
ostk/mathematics/curve_fitting/__init__.pyi,sha256=OPDQN2eI7OkZ_kveRhsrdTUEFqXXuT5rMPn1qEgWTmE,2275
|
|
9
|
+
ostk/mathematics/curve_fitting/interpolator.pyi,sha256=vU07Nn98zlI52LPnODRHGDRR9hL3LJ6hllj4I5pJh_E,2237
|
|
10
|
+
ostk/mathematics/geometry/__init__.pyi,sha256=HwLUyaE_W-iNG_vsLkfg1b4-lKFmfo3NriXF6OoUF9c,5472
|
|
11
|
+
ostk/mathematics/geometry/d2/__init__.pyi,sha256=2Revm1uTUsiCadyhybC4dm5Wm5Hu4J7srZK35XIPjio,9473
|
|
12
|
+
ostk/mathematics/geometry/d2/object.pyi,sha256=D4peKQnoiORGnWNgYbkbWWayxHDsUnH3-cieHZFHj0E,12102
|
|
13
|
+
ostk/mathematics/geometry/d3/__init__.pyi,sha256=1n3lzxyEjjeKSk9c2JmDgzhZe5tVEP7AJWJUTzBEKLI,10208
|
|
14
|
+
ostk/mathematics/geometry/d3/object.pyi,sha256=XM6O1svrhoiugdSGfkPhSaxI-CB7RAAP_RsIqsodIoE,24770
|
|
15
15
|
ostk/mathematics/geometry/d3/transformation/__init__.pyi,sha256=wjoTgfldZsg2a26-4iRZd_FyMFFWRYa2FfQmm55-4b0,81
|
|
16
|
-
ostk/mathematics/geometry/d3/transformation/rotation.pyi,sha256=
|
|
16
|
+
ostk/mathematics/geometry/d3/transformation/rotation.pyi,sha256=zG2pNzXlPlbRrUmkU5kmxPF0U01djhzYcOE1-biQPUI,13829
|
|
17
17
|
ostk/mathematics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
18
18
|
ostk/mathematics/test/test_object.py,sha256=WtksTu9zz8_UNkQYKLO64nNBFDBkRWM_DXFuAWTdKUM,1027
|
|
19
19
|
ostk/mathematics/test/curve_fitting/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
20
20
|
ostk/mathematics/test/curve_fitting/interpolator/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
21
|
-
ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py,sha256=
|
|
22
|
-
ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py,sha256=
|
|
21
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py,sha256=Gk4QGPozj21b5zdYtCliChxBazqxaL2tG12TDjOaR8o,1436
|
|
22
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py,sha256=Pnd7Y6n-7_MOcSw3Vi5WxgsVDrmzzE41S5QOcyhUxso,1689
|
|
23
23
|
ostk/mathematics/test/curve_fitting/interpolator/test_interpolator.py,sha256=46px5NKN8TJO9L9KbopsK9pixq0j3_Xu7PchDQTSEPQ,2093
|
|
24
|
-
ostk/mathematics/test/curve_fitting/interpolator/test_linear.py,sha256=
|
|
24
|
+
ostk/mathematics/test/curve_fitting/interpolator/test_linear.py,sha256=JNGUrBtaN6mCTeVO_bVEU5-BHmgtxLts3Lgj2890lcw,1417
|
|
25
25
|
ostk/mathematics/test/geometry/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
26
26
|
ostk/mathematics/test/geometry/test_angle.py,sha256=HOzlWUApgN6LN0g0Zts0cFQ6In_nmbYpFb3CnWWHVR0,10136
|
|
27
27
|
ostk/mathematics/test/geometry/d2/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
@@ -61,8 +61,8 @@ ostk/mathematics/test/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-
|
|
|
61
61
|
ostk/mathematics/test/object/test_interval.py,sha256=rf7tL-m76inO18rzxopkWrk-cSjKhoN5xXek6e53wAU,21708
|
|
62
62
|
ostk/mathematics/test/object/test_vector.py,sha256=5MG3s8vhgoGKAIc5GzswlZObyIrJDIPNtsEd5wNORPU,76
|
|
63
63
|
ostk/mathematics/test/solver/test_numerical_solver.py,sha256=NS9XS6Z2dBzeKnUBiIflObGzd5DM1KVAoH1SBd3DXDc,5700
|
|
64
|
-
open_space_toolkit_mathematics-4.
|
|
65
|
-
open_space_toolkit_mathematics-4.
|
|
66
|
-
open_space_toolkit_mathematics-4.
|
|
67
|
-
open_space_toolkit_mathematics-4.
|
|
68
|
-
open_space_toolkit_mathematics-4.
|
|
64
|
+
open_space_toolkit_mathematics-4.5.0.dist-info/METADATA,sha256=tbGKtxsuQD2cBis8YBYbu7oiLQifCfprIAe-Yai20tw,1804
|
|
65
|
+
open_space_toolkit_mathematics-4.5.0.dist-info/WHEEL,sha256=R5pNgnt8b9fXaDTmvusPEx11BdzBXjt30_JyyExPv08,111
|
|
66
|
+
open_space_toolkit_mathematics-4.5.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
|
67
|
+
open_space_toolkit_mathematics-4.5.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
68
|
+
open_space_toolkit_mathematics-4.5.0.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -18,9 +18,6 @@ class Interpolator:
|
|
|
18
18
|
CubicSpline: typing.ClassVar[Interpolator.Type] # value = <Type.CubicSpline: 1>
|
|
19
19
|
Linear: typing.ClassVar[Interpolator.Type] # value = <Type.Linear: 2>
|
|
20
20
|
__members__: typing.ClassVar[dict[str, Interpolator.Type]] # value = {'BarycentricRational': <Type.BarycentricRational: 0>, 'CubicSpline': <Type.CubicSpline: 1>, 'Linear': <Type.Linear: 2>}
|
|
21
|
-
@staticmethod
|
|
22
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
23
|
-
...
|
|
24
21
|
def __eq__(self, other: typing.Any) -> bool:
|
|
25
22
|
...
|
|
26
23
|
def __getstate__(self) -> int:
|
|
@@ -48,14 +45,17 @@ class Interpolator:
|
|
|
48
45
|
def value(self) -> int:
|
|
49
46
|
...
|
|
50
47
|
@staticmethod
|
|
51
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
52
|
-
...
|
|
53
|
-
@staticmethod
|
|
54
48
|
def generate_interpolator(interpolation_type: Interpolator.Type, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> Interpolator:
|
|
55
49
|
...
|
|
56
50
|
def __init__(self, interpolation_type: Interpolator.Type) -> None:
|
|
57
51
|
...
|
|
58
52
|
@typing.overload
|
|
53
|
+
def compute_derivative(self, x: float) -> float:
|
|
54
|
+
...
|
|
55
|
+
@typing.overload
|
|
56
|
+
def compute_derivative(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
57
|
+
...
|
|
58
|
+
@typing.overload
|
|
59
59
|
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
60
60
|
...
|
|
61
61
|
@typing.overload
|
|
@@ -5,21 +5,21 @@ import ostk.mathematics.curve_fitting
|
|
|
5
5
|
import typing
|
|
6
6
|
__all__ = ['BarycentricRational', 'CubicSpline', 'Linear']
|
|
7
7
|
class BarycentricRational(ostk.mathematics.curve_fitting.Interpolator):
|
|
8
|
-
@staticmethod
|
|
9
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
10
|
-
...
|
|
11
8
|
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
12
9
|
...
|
|
13
10
|
@typing.overload
|
|
11
|
+
def compute_derivative(self, x: float) -> float:
|
|
12
|
+
...
|
|
13
|
+
@typing.overload
|
|
14
|
+
def compute_derivative(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
15
|
+
...
|
|
16
|
+
@typing.overload
|
|
14
17
|
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
15
18
|
...
|
|
16
19
|
@typing.overload
|
|
17
20
|
def evaluate(self, x: float) -> float:
|
|
18
21
|
...
|
|
19
22
|
class CubicSpline(ostk.mathematics.curve_fitting.Interpolator):
|
|
20
|
-
@staticmethod
|
|
21
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
22
|
-
...
|
|
23
23
|
@typing.overload
|
|
24
24
|
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
25
25
|
...
|
|
@@ -27,18 +27,27 @@ class CubicSpline(ostk.mathematics.curve_fitting.Interpolator):
|
|
|
27
27
|
def __init__(self, y: numpy.ndarray[numpy.float64[m, 1]], x_0: ostk.core.type.Real, h: ostk.core.type.Real) -> None:
|
|
28
28
|
...
|
|
29
29
|
@typing.overload
|
|
30
|
+
def compute_derivative(self, x: float) -> float:
|
|
31
|
+
...
|
|
32
|
+
@typing.overload
|
|
33
|
+
def compute_derivative(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
34
|
+
...
|
|
35
|
+
@typing.overload
|
|
30
36
|
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
31
37
|
...
|
|
32
38
|
@typing.overload
|
|
33
39
|
def evaluate(self, x: float) -> float:
|
|
34
40
|
...
|
|
35
41
|
class Linear(ostk.mathematics.curve_fitting.Interpolator):
|
|
36
|
-
@staticmethod
|
|
37
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
38
|
-
...
|
|
39
42
|
def __init__(self, x: numpy.ndarray[numpy.float64[m, 1]], y: numpy.ndarray[numpy.float64[m, 1]]) -> None:
|
|
40
43
|
...
|
|
41
44
|
@typing.overload
|
|
45
|
+
def compute_derivative(self, x: float) -> float:
|
|
46
|
+
...
|
|
47
|
+
@typing.overload
|
|
48
|
+
def compute_derivative(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
49
|
+
...
|
|
50
|
+
@typing.overload
|
|
42
51
|
def evaluate(self, x: numpy.ndarray[numpy.float64[m, 1]]) -> numpy.ndarray[numpy.float64[m, 1]]:
|
|
43
52
|
...
|
|
44
53
|
@typing.overload
|
|
@@ -29,9 +29,6 @@ class Angle:
|
|
|
29
29
|
Revolution: typing.ClassVar[Angle.Unit] # value = <Unit.Revolution: 5>
|
|
30
30
|
Undefined: typing.ClassVar[Angle.Unit] # value = <Unit.Undefined: 0>
|
|
31
31
|
__members__: typing.ClassVar[dict[str, Angle.Unit]] # value = {'Undefined': <Unit.Undefined: 0>, 'Radian': <Unit.Radian: 1>, 'Degree': <Unit.Degree: 2>, 'Arcminute': <Unit.Arcminute: 3>, 'Arcsecond': <Unit.Arcsecond: 4>, 'Revolution': <Unit.Revolution: 5>}
|
|
32
|
-
@staticmethod
|
|
33
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
34
|
-
...
|
|
35
32
|
def __eq__(self, other: typing.Any) -> bool:
|
|
36
33
|
...
|
|
37
34
|
def __getstate__(self) -> int:
|
|
@@ -60,9 +57,6 @@ class Angle:
|
|
|
60
57
|
...
|
|
61
58
|
__hash__: typing.ClassVar[None] = None
|
|
62
59
|
@staticmethod
|
|
63
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
64
|
-
...
|
|
65
|
-
@staticmethod
|
|
66
60
|
def arcminutes(value: ostk.core.type.Real) -> Angle:
|
|
67
61
|
...
|
|
68
62
|
@staticmethod
|
|
@@ -37,9 +37,6 @@ class Intersection:
|
|
|
37
37
|
Segment: typing.ClassVar[Intersection.Type] # value = <Type.Segment: 5>
|
|
38
38
|
Undefined: typing.ClassVar[Intersection.Type] # value = <Type.Undefined: 0>
|
|
39
39
|
__members__: typing.ClassVar[dict[str, Intersection.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Empty': <Type.Empty: 1>, 'Point': <Type.Point: 2>, 'PointSet': <Type.PointSet: 3>, 'Line': <Type.Line: 4>, 'LineString': <Type.LineString: 6>, 'Segment': <Type.Segment: 5>, 'Polygon': <Type.Polygon: 7>, 'Complex': <Type.Complex: 8>}
|
|
40
|
-
@staticmethod
|
|
41
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
42
|
-
...
|
|
43
40
|
def __eq__(self, other: typing.Any) -> bool:
|
|
44
41
|
...
|
|
45
42
|
def __getstate__(self) -> int:
|
|
@@ -68,9 +65,6 @@ class Intersection:
|
|
|
68
65
|
...
|
|
69
66
|
__hash__: typing.ClassVar[None] = None
|
|
70
67
|
@staticmethod
|
|
71
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
72
|
-
...
|
|
73
|
-
@staticmethod
|
|
74
68
|
def empty() -> Intersection:
|
|
75
69
|
...
|
|
76
70
|
@staticmethod
|
|
@@ -156,9 +150,6 @@ class Object:
|
|
|
156
150
|
Undefined: typing.ClassVar[Object.Format] # value = <Format.Undefined: 0>
|
|
157
151
|
WKT: typing.ClassVar[Object.Format] # value = <Format.WKT: 2>
|
|
158
152
|
__members__: typing.ClassVar[dict[str, Object.Format]] # value = {'Undefined': <Format.Undefined: 0>, 'Standard': <Format.Standard: 1>, 'WKT': <Format.WKT: 2>}
|
|
159
|
-
@staticmethod
|
|
160
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
161
|
-
...
|
|
162
153
|
def __eq__(self, other: typing.Any) -> bool:
|
|
163
154
|
...
|
|
164
155
|
def __getstate__(self) -> int:
|
|
@@ -186,9 +177,6 @@ class Object:
|
|
|
186
177
|
def value(self) -> int:
|
|
187
178
|
...
|
|
188
179
|
__hash__: typing.ClassVar[None] = None
|
|
189
|
-
@staticmethod
|
|
190
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
191
|
-
...
|
|
192
180
|
def __eq__(self, arg0: Object) -> bool:
|
|
193
181
|
...
|
|
194
182
|
def __ne__(self, arg0: Object) -> bool:
|
|
@@ -235,9 +223,6 @@ class Transformation:
|
|
|
235
223
|
Translation: typing.ClassVar[Transformation.Type] # value = <Type.Translation: 2>
|
|
236
224
|
Undefined: typing.ClassVar[Transformation.Type] # value = <Type.Undefined: 0>
|
|
237
225
|
__members__: typing.ClassVar[dict[str, Transformation.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Identity': <Type.Identity: 1>, 'Translation': <Type.Translation: 2>, 'Rotation': <Type.Rotation: 3>, 'Scaling': <Type.Scaling: 4>, 'Reflection': <Type.Reflection: 5>, 'Shear': <Type.Shear: 6>, 'Affine': <Type.Affine: 7>}
|
|
238
|
-
@staticmethod
|
|
239
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
240
|
-
...
|
|
241
226
|
def __eq__(self, other: typing.Any) -> bool:
|
|
242
227
|
...
|
|
243
228
|
def __getstate__(self) -> int:
|
|
@@ -266,9 +251,6 @@ class Transformation:
|
|
|
266
251
|
...
|
|
267
252
|
__hash__: typing.ClassVar[None] = None
|
|
268
253
|
@staticmethod
|
|
269
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
270
|
-
...
|
|
271
|
-
@staticmethod
|
|
272
254
|
def identity() -> Transformation:
|
|
273
255
|
...
|
|
274
256
|
@staticmethod
|
|
@@ -7,9 +7,6 @@ __all__ = ['Composite', 'Line', 'LineString', 'MultiPolygon', 'Point', 'PointSet
|
|
|
7
7
|
class Composite(ostk.mathematics.geometry.d2.Object):
|
|
8
8
|
__hash__: typing.ClassVar[None] = None
|
|
9
9
|
@staticmethod
|
|
10
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
11
|
-
...
|
|
12
|
-
@staticmethod
|
|
13
10
|
def empty() -> Composite:
|
|
14
11
|
...
|
|
15
12
|
@staticmethod
|
|
@@ -88,9 +85,6 @@ class Composite(ostk.mathematics.geometry.d2.Object):
|
|
|
88
85
|
class Line(ostk.mathematics.geometry.d2.Object):
|
|
89
86
|
__hash__: typing.ClassVar[None] = None
|
|
90
87
|
@staticmethod
|
|
91
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
92
|
-
...
|
|
93
|
-
@staticmethod
|
|
94
88
|
def points(first_point: Point, second_point: Point) -> Line:
|
|
95
89
|
...
|
|
96
90
|
@staticmethod
|
|
@@ -127,9 +121,6 @@ class Line(ostk.mathematics.geometry.d2.Object):
|
|
|
127
121
|
class LineString(ostk.mathematics.geometry.d2.Object):
|
|
128
122
|
__hash__: typing.ClassVar[None] = None
|
|
129
123
|
@staticmethod
|
|
130
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
131
|
-
...
|
|
132
|
-
@staticmethod
|
|
133
124
|
def empty() -> LineString:
|
|
134
125
|
...
|
|
135
126
|
def __eq__(self, arg0: LineString) -> bool:
|
|
@@ -165,9 +156,6 @@ class LineString(ostk.mathematics.geometry.d2.Object):
|
|
|
165
156
|
class MultiPolygon(ostk.mathematics.geometry.d2.Object):
|
|
166
157
|
__hash__: typing.ClassVar[None] = None
|
|
167
158
|
@staticmethod
|
|
168
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
169
|
-
...
|
|
170
|
-
@staticmethod
|
|
171
159
|
def polygon(polygon: Polygon) -> MultiPolygon:
|
|
172
160
|
...
|
|
173
161
|
@staticmethod
|
|
@@ -206,9 +194,6 @@ class MultiPolygon(ostk.mathematics.geometry.d2.Object):
|
|
|
206
194
|
class Point(ostk.mathematics.geometry.d2.Object):
|
|
207
195
|
__hash__: typing.ClassVar[None] = None
|
|
208
196
|
@staticmethod
|
|
209
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
210
|
-
...
|
|
211
|
-
@staticmethod
|
|
212
197
|
def origin() -> Point:
|
|
213
198
|
...
|
|
214
199
|
@staticmethod
|
|
@@ -254,9 +239,6 @@ class Point(ostk.mathematics.geometry.d2.Object):
|
|
|
254
239
|
class PointSet(ostk.mathematics.geometry.d2.Object):
|
|
255
240
|
__hash__: typing.ClassVar[None] = None
|
|
256
241
|
@staticmethod
|
|
257
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
258
|
-
...
|
|
259
|
-
@staticmethod
|
|
260
242
|
def empty() -> PointSet:
|
|
261
243
|
...
|
|
262
244
|
def __eq__(self, arg0: PointSet) -> bool:
|
|
@@ -294,9 +276,6 @@ class PointSet(ostk.mathematics.geometry.d2.Object):
|
|
|
294
276
|
class Polygon(ostk.mathematics.geometry.d2.Object):
|
|
295
277
|
__hash__: typing.ClassVar[None] = None
|
|
296
278
|
@staticmethod
|
|
297
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
298
|
-
...
|
|
299
|
-
@staticmethod
|
|
300
279
|
def undefined() -> Polygon:
|
|
301
280
|
...
|
|
302
281
|
def __eq__(self, arg0: Polygon) -> bool:
|
|
@@ -358,9 +337,6 @@ class Polygon(ostk.mathematics.geometry.d2.Object):
|
|
|
358
337
|
class Segment(ostk.mathematics.geometry.d2.Object):
|
|
359
338
|
__hash__: typing.ClassVar[None] = None
|
|
360
339
|
@staticmethod
|
|
361
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
362
|
-
...
|
|
363
|
-
@staticmethod
|
|
364
340
|
def undefined() -> Segment:
|
|
365
341
|
...
|
|
366
342
|
def __eq__(self, arg0: Segment) -> bool:
|
|
@@ -44,9 +44,6 @@ class Intersection:
|
|
|
44
44
|
Sphere: typing.ClassVar[Intersection.Type] # value = <Type.Sphere: 11>
|
|
45
45
|
Undefined: typing.ClassVar[Intersection.Type] # value = <Type.Undefined: 0>
|
|
46
46
|
__members__: typing.ClassVar[dict[str, Intersection.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Empty': <Type.Empty: 1>, 'Point': <Type.Point: 2>, 'PointSet': <Type.PointSet: 3>, 'Line': <Type.Line: 4>, 'Ray': <Type.Ray: 5>, 'Segment': <Type.Segment: 6>, 'Plane': <Type.Plane: 9>, 'Sphere': <Type.Sphere: 11>, 'Ellipsoid': <Type.Ellipsoid: 12>, 'Complex': <Type.Complex: 14>}
|
|
47
|
-
@staticmethod
|
|
48
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
49
|
-
...
|
|
50
47
|
def __eq__(self, other: typing.Any) -> bool:
|
|
51
48
|
...
|
|
52
49
|
def __getstate__(self) -> int:
|
|
@@ -75,9 +72,6 @@ class Intersection:
|
|
|
75
72
|
...
|
|
76
73
|
__hash__: typing.ClassVar[None] = None
|
|
77
74
|
@staticmethod
|
|
78
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
79
|
-
...
|
|
80
|
-
@staticmethod
|
|
81
75
|
def empty() -> Intersection:
|
|
82
76
|
...
|
|
83
77
|
@staticmethod
|
|
@@ -173,9 +167,6 @@ class Intersection:
|
|
|
173
167
|
...
|
|
174
168
|
class Object:
|
|
175
169
|
__hash__: typing.ClassVar[None] = None
|
|
176
|
-
@staticmethod
|
|
177
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
178
|
-
...
|
|
179
170
|
def __eq__(self, arg0: Object) -> bool:
|
|
180
171
|
...
|
|
181
172
|
def __ne__(self, arg0: Object) -> bool:
|
|
@@ -266,9 +257,6 @@ class Transformation:
|
|
|
266
257
|
Translation: typing.ClassVar[Transformation.Type] # value = <Type.Translation: 2>
|
|
267
258
|
Undefined: typing.ClassVar[Transformation.Type] # value = <Type.Undefined: 0>
|
|
268
259
|
__members__: typing.ClassVar[dict[str, Transformation.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Identity': <Type.Identity: 1>, 'Translation': <Type.Translation: 2>, 'Rotation': <Type.Rotation: 3>, 'Scaling': <Type.Scaling: 4>, 'Reflection': <Type.Reflection: 5>, 'Shear': <Type.Shear: 6>, 'Affine': <Type.Affine: 7>}
|
|
269
|
-
@staticmethod
|
|
270
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
271
|
-
...
|
|
272
260
|
def __eq__(self, other: typing.Any) -> bool:
|
|
273
261
|
...
|
|
274
262
|
def __getstate__(self) -> int:
|
|
@@ -297,9 +285,6 @@ class Transformation:
|
|
|
297
285
|
...
|
|
298
286
|
__hash__: typing.ClassVar[None] = None
|
|
299
287
|
@staticmethod
|
|
300
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
301
|
-
...
|
|
302
|
-
@staticmethod
|
|
303
288
|
def identity() -> Transformation:
|
|
304
289
|
...
|
|
305
290
|
@staticmethod
|
|
@@ -8,9 +8,6 @@ __all__ = ['Composite', 'Cone', 'Cuboid', 'Ellipsoid', 'Line', 'LineString', 'Pl
|
|
|
8
8
|
class Composite(ostk.mathematics.geometry.d3.Object):
|
|
9
9
|
__hash__: typing.ClassVar[None] = None
|
|
10
10
|
@staticmethod
|
|
11
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
12
|
-
...
|
|
13
|
-
@staticmethod
|
|
14
11
|
def empty() -> Composite:
|
|
15
12
|
...
|
|
16
13
|
@staticmethod
|
|
@@ -113,9 +110,6 @@ class Composite(ostk.mathematics.geometry.d3.Object):
|
|
|
113
110
|
class Cone(ostk.mathematics.geometry.d3.Object):
|
|
114
111
|
__hash__: typing.ClassVar[None] = None
|
|
115
112
|
@staticmethod
|
|
116
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
117
|
-
...
|
|
118
|
-
@staticmethod
|
|
119
113
|
def undefined() -> Cone:
|
|
120
114
|
...
|
|
121
115
|
def __eq__(self, arg0: Cone) -> bool:
|
|
@@ -175,9 +169,6 @@ class Cone(ostk.mathematics.geometry.d3.Object):
|
|
|
175
169
|
class Cuboid(ostk.mathematics.geometry.d3.Object):
|
|
176
170
|
__hash__: typing.ClassVar[None] = None
|
|
177
171
|
@staticmethod
|
|
178
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
179
|
-
...
|
|
180
|
-
@staticmethod
|
|
181
172
|
def cube(center: Point, extent: ostk.core.type.Real) -> Cuboid:
|
|
182
173
|
...
|
|
183
174
|
@staticmethod
|
|
@@ -230,9 +221,6 @@ class Cuboid(ostk.mathematics.geometry.d3.Object):
|
|
|
230
221
|
class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
231
222
|
__hash__: typing.ClassVar[None] = None
|
|
232
223
|
@staticmethod
|
|
233
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
234
|
-
...
|
|
235
|
-
@staticmethod
|
|
236
224
|
def undefined() -> Ellipsoid:
|
|
237
225
|
...
|
|
238
226
|
def __eq__(self, arg0: Ellipsoid) -> bool:
|
|
@@ -316,9 +304,6 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
|
316
304
|
class Line(ostk.mathematics.geometry.d3.Object):
|
|
317
305
|
__hash__: typing.ClassVar[None] = None
|
|
318
306
|
@staticmethod
|
|
319
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
320
|
-
...
|
|
321
|
-
@staticmethod
|
|
322
307
|
def points(first_point: Point, second_point: Point) -> Line:
|
|
323
308
|
...
|
|
324
309
|
@staticmethod
|
|
@@ -367,9 +352,6 @@ class Line(ostk.mathematics.geometry.d3.Object):
|
|
|
367
352
|
class LineString(ostk.mathematics.geometry.d3.Object):
|
|
368
353
|
__hash__: typing.ClassVar[None] = None
|
|
369
354
|
@staticmethod
|
|
370
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
371
|
-
...
|
|
372
|
-
@staticmethod
|
|
373
355
|
def empty() -> LineString:
|
|
374
356
|
...
|
|
375
357
|
@staticmethod
|
|
@@ -408,9 +390,6 @@ class LineString(ostk.mathematics.geometry.d3.Object):
|
|
|
408
390
|
class Plane(ostk.mathematics.geometry.d3.Object):
|
|
409
391
|
__hash__: typing.ClassVar[None] = None
|
|
410
392
|
@staticmethod
|
|
411
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
412
|
-
...
|
|
413
|
-
@staticmethod
|
|
414
393
|
def undefined() -> Plane:
|
|
415
394
|
...
|
|
416
395
|
def __eq__(self, arg0: Plane) -> bool:
|
|
@@ -479,9 +458,6 @@ class Plane(ostk.mathematics.geometry.d3.Object):
|
|
|
479
458
|
class Point(ostk.mathematics.geometry.d3.Object):
|
|
480
459
|
__hash__: typing.ClassVar[None] = None
|
|
481
460
|
@staticmethod
|
|
482
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
483
|
-
...
|
|
484
|
-
@staticmethod
|
|
485
461
|
def origin() -> Point:
|
|
486
462
|
...
|
|
487
463
|
@staticmethod
|
|
@@ -529,9 +505,6 @@ class Point(ostk.mathematics.geometry.d3.Object):
|
|
|
529
505
|
class PointSet(ostk.mathematics.geometry.d3.Object):
|
|
530
506
|
__hash__: typing.ClassVar[None] = None
|
|
531
507
|
@staticmethod
|
|
532
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
533
|
-
...
|
|
534
|
-
@staticmethod
|
|
535
508
|
def empty() -> PointSet:
|
|
536
509
|
...
|
|
537
510
|
def __eq__(self, arg0: PointSet) -> bool:
|
|
@@ -567,9 +540,6 @@ class PointSet(ostk.mathematics.geometry.d3.Object):
|
|
|
567
540
|
class Polygon(ostk.mathematics.geometry.d3.Object):
|
|
568
541
|
__hash__: typing.ClassVar[None] = None
|
|
569
542
|
@staticmethod
|
|
570
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
571
|
-
...
|
|
572
|
-
@staticmethod
|
|
573
543
|
def undefined() -> Polygon:
|
|
574
544
|
...
|
|
575
545
|
def __eq__(self, arg0: Polygon) -> bool:
|
|
@@ -611,9 +581,6 @@ class Polygon(ostk.mathematics.geometry.d3.Object):
|
|
|
611
581
|
class Pyramid(ostk.mathematics.geometry.d3.Object):
|
|
612
582
|
__hash__: typing.ClassVar[None] = None
|
|
613
583
|
@staticmethod
|
|
614
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
615
|
-
...
|
|
616
|
-
@staticmethod
|
|
617
584
|
def undefined() -> Pyramid:
|
|
618
585
|
...
|
|
619
586
|
def __eq__(self, arg0: Pyramid) -> bool:
|
|
@@ -665,9 +632,6 @@ class Pyramid(ostk.mathematics.geometry.d3.Object):
|
|
|
665
632
|
class Ray(ostk.mathematics.geometry.d3.Object):
|
|
666
633
|
__hash__: typing.ClassVar[None] = None
|
|
667
634
|
@staticmethod
|
|
668
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
669
|
-
...
|
|
670
|
-
@staticmethod
|
|
671
635
|
def undefined() -> Ray:
|
|
672
636
|
...
|
|
673
637
|
def __eq__(self, arg0: Ray) -> bool:
|
|
@@ -720,9 +684,6 @@ class Ray(ostk.mathematics.geometry.d3.Object):
|
|
|
720
684
|
class Segment(ostk.mathematics.geometry.d3.Object):
|
|
721
685
|
__hash__: typing.ClassVar[None] = None
|
|
722
686
|
@staticmethod
|
|
723
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
724
|
-
...
|
|
725
|
-
@staticmethod
|
|
726
687
|
def undefined() -> Segment:
|
|
727
688
|
...
|
|
728
689
|
def __eq__(self, arg0: Segment) -> bool:
|
|
@@ -775,9 +736,6 @@ class Segment(ostk.mathematics.geometry.d3.Object):
|
|
|
775
736
|
class Sphere(ostk.mathematics.geometry.d3.Object):
|
|
776
737
|
__hash__: typing.ClassVar[None] = None
|
|
777
738
|
@staticmethod
|
|
778
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
779
|
-
...
|
|
780
|
-
@staticmethod
|
|
781
739
|
def undefined() -> Sphere:
|
|
782
740
|
...
|
|
783
741
|
@staticmethod
|
|
@@ -21,9 +21,6 @@ class EulerAngle:
|
|
|
21
21
|
ZXY: typing.ClassVar[EulerAngle.AxisSequence] # value = <AxisSequence.ZXY: 2>
|
|
22
22
|
ZYX: typing.ClassVar[EulerAngle.AxisSequence] # value = <AxisSequence.ZYX: 3>
|
|
23
23
|
__members__: typing.ClassVar[dict[str, EulerAngle.AxisSequence]] # value = {'Undefined': <AxisSequence.Undefined: 0>, 'XYZ': <AxisSequence.XYZ: 1>, 'ZXY': <AxisSequence.ZXY: 2>, 'ZYX': <AxisSequence.ZYX: 3>}
|
|
24
|
-
@staticmethod
|
|
25
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
26
|
-
...
|
|
27
24
|
def __eq__(self, other: typing.Any) -> bool:
|
|
28
25
|
...
|
|
29
26
|
def __getstate__(self) -> int:
|
|
@@ -52,9 +49,6 @@ class EulerAngle:
|
|
|
52
49
|
...
|
|
53
50
|
__hash__: typing.ClassVar[None] = None
|
|
54
51
|
@staticmethod
|
|
55
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
56
|
-
...
|
|
57
|
-
@staticmethod
|
|
58
52
|
def quaternion(quaternion: Quaternion, axis_sequence: typing.Any) -> EulerAngle:
|
|
59
53
|
...
|
|
60
54
|
@staticmethod
|
|
@@ -130,9 +124,6 @@ class Quaternion:
|
|
|
130
124
|
SXYZ: typing.ClassVar[Quaternion.Format] # value = <Format.SXYZ: 1>
|
|
131
125
|
XYZS: typing.ClassVar[Quaternion.Format] # value = <Format.XYZS: 0>
|
|
132
126
|
__members__: typing.ClassVar[dict[str, Quaternion.Format]] # value = {'XYZS': <Format.XYZS: 0>, 'SXYZ': <Format.SXYZ: 1>}
|
|
133
|
-
@staticmethod
|
|
134
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
135
|
-
...
|
|
136
127
|
def __eq__(self, other: typing.Any) -> bool:
|
|
137
128
|
...
|
|
138
129
|
def __getstate__(self) -> int:
|
|
@@ -161,9 +152,6 @@ class Quaternion:
|
|
|
161
152
|
...
|
|
162
153
|
__hash__: typing.ClassVar[None] = None
|
|
163
154
|
@staticmethod
|
|
164
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
165
|
-
...
|
|
166
|
-
@staticmethod
|
|
167
155
|
def euler_angle(euler_angle: typing.Any) -> Quaternion:
|
|
168
156
|
...
|
|
169
157
|
@staticmethod
|
|
@@ -296,9 +284,6 @@ class Quaternion:
|
|
|
296
284
|
class RotationMatrix:
|
|
297
285
|
__hash__: typing.ClassVar[None] = None
|
|
298
286
|
@staticmethod
|
|
299
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
300
|
-
...
|
|
301
|
-
@staticmethod
|
|
302
287
|
def columns(first_column: numpy.ndarray[numpy.float64[3, 1]], second_column: numpy.ndarray[numpy.float64[3, 1]], third_column: numpy.ndarray[numpy.float64[3, 1]]) -> RotationMatrix:
|
|
303
288
|
...
|
|
304
289
|
@staticmethod
|
|
@@ -363,9 +348,6 @@ class RotationMatrix:
|
|
|
363
348
|
class RotationVector:
|
|
364
349
|
__hash__: typing.ClassVar[None] = None
|
|
365
350
|
@staticmethod
|
|
366
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
367
|
-
...
|
|
368
|
-
@staticmethod
|
|
369
351
|
def euler_angle(euler_angle: typing.Any) -> RotationVector:
|
|
370
352
|
...
|
|
371
353
|
@staticmethod
|
|
Binary file
|
ostk/mathematics/object.pyi
CHANGED
|
@@ -23,9 +23,6 @@ class RealInterval:
|
|
|
23
23
|
Open: typing.ClassVar[RealInterval.Type] # value = <Type.Open: 2>
|
|
24
24
|
Undefined: typing.ClassVar[RealInterval.Type] # value = <Type.Undefined: 0>
|
|
25
25
|
__members__: typing.ClassVar[dict[str, RealInterval.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Closed': <Type.Closed: 1>, 'Open': <Type.Open: 2>, 'HalfOpenLeft': <Type.HalfOpenLeft: 3>, 'HalfOpenRight': <Type.HalfOpenRight: 4>}
|
|
26
|
-
@staticmethod
|
|
27
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
28
|
-
...
|
|
29
26
|
def __eq__(self, other: typing.Any) -> bool:
|
|
30
27
|
...
|
|
31
28
|
def __getstate__(self) -> int:
|
|
@@ -54,9 +51,6 @@ class RealInterval:
|
|
|
54
51
|
...
|
|
55
52
|
__hash__: typing.ClassVar[None] = None
|
|
56
53
|
@staticmethod
|
|
57
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
58
|
-
...
|
|
59
|
-
@staticmethod
|
|
60
54
|
def clip(intervals: list[RealInterval], clipping_interval: RealInterval) -> list[RealInterval]:
|
|
61
55
|
...
|
|
62
56
|
@staticmethod
|
ostk/mathematics/solver.pyi
CHANGED
|
@@ -18,9 +18,6 @@ class NumericalSolver:
|
|
|
18
18
|
LogConstant: typing.ClassVar[NumericalSolver.LogType] # value = <LogType.LogConstant: 1>
|
|
19
19
|
NoLog: typing.ClassVar[NumericalSolver.LogType] # value = <LogType.NoLog: 0>
|
|
20
20
|
__members__: typing.ClassVar[dict[str, NumericalSolver.LogType]] # value = {'NoLog': <LogType.NoLog: 0>, 'LogConstant': <LogType.LogConstant: 1>, 'LogAdaptive': <LogType.LogAdaptive: 2>}
|
|
21
|
-
@staticmethod
|
|
22
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
23
|
-
...
|
|
24
21
|
def __eq__(self, other: typing.Any) -> bool:
|
|
25
22
|
...
|
|
26
23
|
def __getstate__(self) -> int:
|
|
@@ -64,9 +61,6 @@ class NumericalSolver:
|
|
|
64
61
|
RungeKuttaDopri5: typing.ClassVar[NumericalSolver.StepperType] # value = <StepperType.RungeKuttaDopri5: 3>
|
|
65
62
|
RungeKuttaFehlberg78: typing.ClassVar[NumericalSolver.StepperType] # value = <StepperType.RungeKuttaFehlberg78: 2>
|
|
66
63
|
__members__: typing.ClassVar[dict[str, NumericalSolver.StepperType]] # value = {'RungeKutta4': <StepperType.RungeKutta4: 0>, 'RungeKuttaCashKarp54': <StepperType.RungeKuttaCashKarp54: 1>, 'RungeKuttaFehlberg78': <StepperType.RungeKuttaFehlberg78: 2>, 'RungeKuttaDopri5': <StepperType.RungeKuttaDopri5: 3>}
|
|
67
|
-
@staticmethod
|
|
68
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
69
|
-
...
|
|
70
64
|
def __eq__(self, other: typing.Any) -> bool:
|
|
71
65
|
...
|
|
72
66
|
def __getstate__(self) -> int:
|
|
@@ -95,9 +89,6 @@ class NumericalSolver:
|
|
|
95
89
|
...
|
|
96
90
|
__hash__: typing.ClassVar[None] = None
|
|
97
91
|
@staticmethod
|
|
98
|
-
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
99
|
-
...
|
|
100
|
-
@staticmethod
|
|
101
92
|
def default() -> NumericalSolver:
|
|
102
93
|
...
|
|
103
94
|
@staticmethod
|
|
@@ -32,3 +32,13 @@ class TestBarycentricRational:
|
|
|
32
32
|
interpolator.evaluate(x=[0.0, 1.0, 2.0, 4.0, 5.0, 6.0])
|
|
33
33
|
== [0.0, 3.0, 6.0, 9.0, 17.0, 5.0]
|
|
34
34
|
).all()
|
|
35
|
+
|
|
36
|
+
def test_compute_derivative(self):
|
|
37
|
+
interpolator = BarycentricRational(
|
|
38
|
+
x=[0.0, 1.0, 2.0, 4.0, 5.0, 6.0],
|
|
39
|
+
y=[0.0, 3.0, 6.0, 9.0, 17.0, 5.0],
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
assert interpolator.compute_derivative(1.5) is not None
|
|
43
|
+
|
|
44
|
+
assert interpolator.compute_derivative([1.5]) is not None
|
|
@@ -43,3 +43,13 @@ class TestCubicSpline:
|
|
|
43
43
|
assert pytest.approx(interpolator.evaluate(i * 10.0)) == y[i]
|
|
44
44
|
|
|
45
45
|
assert pytest.approx(interpolator.evaluate(np.linspace(0.0, 90.0, 10))) == y
|
|
46
|
+
|
|
47
|
+
def test_compute_derivative(self):
|
|
48
|
+
interpolator = CubicSpline(
|
|
49
|
+
x=[0.0, 1.0, 2.0, 3.0, 4.0, 5.0],
|
|
50
|
+
y=[0.0, 3.0, 6.0, 9.0, 17.0, 5.0],
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
assert interpolator.compute_derivative(1.5) is not None
|
|
54
|
+
|
|
55
|
+
assert interpolator.compute_derivative([1.5]) is not None
|
|
@@ -33,3 +33,13 @@ class TestLinear:
|
|
|
33
33
|
interpolator.evaluate(x=[0.0, 1.0, 2.0, 4.0, 5.0, 6.0])
|
|
34
34
|
== [0.0, 3.0, 6.0, 9.0, 17.0, 5.0]
|
|
35
35
|
).all()
|
|
36
|
+
|
|
37
|
+
def test_compute_derivative(self):
|
|
38
|
+
interpolator = Linear(
|
|
39
|
+
x=[0.0, 1.0, 2.0, 4.0, 5.0, 6.0],
|
|
40
|
+
y=[0.0, 3.0, 6.0, 9.0, 17.0, 5.0],
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
assert interpolator.compute_derivative(1.5) is not None
|
|
44
|
+
|
|
45
|
+
assert interpolator.compute_derivative([1.5]) is not None
|
|
File without changes
|
|
File without changes
|