open-space-toolkit-mathematics 4.4.0__py311-none-manylinux2014_aarch64.whl → 4.5.0__py311-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.

Files changed (27) hide show
  1. {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/METADATA +1 -1
  2. {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/RECORD +26 -27
  3. {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/WHEEL +1 -1
  4. ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-311-aarch64-linux-gnu.so +0 -0
  5. ostk/mathematics/curve_fitting/__init__.pyi +6 -6
  6. ostk/mathematics/curve_fitting/interpolator.pyi +18 -9
  7. ostk/mathematics/geometry/__init__.pyi +4 -10
  8. ostk/mathematics/geometry/d2/__init__.pyi +5 -23
  9. ostk/mathematics/geometry/d2/object.pyi +8 -32
  10. ostk/mathematics/geometry/d3/__init__.pyi +6 -21
  11. ostk/mathematics/geometry/d3/object.pyi +32 -74
  12. ostk/mathematics/geometry/d3/transformation/rotation.pyi +31 -49
  13. ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
  14. ostk/mathematics/object.pyi +1 -7
  15. ostk/mathematics/solver.pyi +3 -12
  16. ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py +10 -0
  17. ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py +10 -0
  18. ostk/mathematics/test/curve_fitting/interpolator/test_linear.py +10 -0
  19. ostk/mathematics/test/geometry/d2/conftest.py +6 -9
  20. ostk/mathematics/test/geometry/d2/object/test_composite.py +4 -7
  21. ostk/mathematics/test/geometry/d2/object/test_multipolygon.py +3 -10
  22. ostk/mathematics/test/geometry/d2/object/test_point_set.py +3 -6
  23. ostk/mathematics/test/geometry/d3/object/test_point_set.py +5 -8
  24. ostk/mathematics/test/solver/test_numerical_solver.py +2 -2
  25. ostk/mathematics/py.typed +0 -0
  26. {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/top_level.txt +0 -0
  27. {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.5.0.dist-info}/zip-safe +0 -0
@@ -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
@@ -32,7 +29,7 @@ class Composite(ostk.mathematics.geometry.d3.Object):
32
29
  ...
33
30
  def access_object_at(self, index: int) -> ostk.mathematics.geometry.d3.Object:
34
31
  ...
35
- def apply_transformation(self, transformation: ...) -> None:
32
+ def apply_transformation(self, transformation: typing.Any) -> None:
36
33
  ...
37
34
  def as_composite(self) -> Composite:
38
35
  ...
@@ -113,14 +110,11 @@ 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:
122
116
  ...
123
- def __init__(self, apex: Point, axis: numpy.ndarray[numpy.float64[3, 1]], angle: ...) -> None:
117
+ def __init__(self, apex: Point, axis: numpy.ndarray[numpy.float64[3, 1]], angle: typing.Any) -> None:
124
118
  ...
125
119
  def __ne__(self, arg0: Cone) -> bool:
126
120
  ...
@@ -128,7 +122,7 @@ class Cone(ostk.mathematics.geometry.d3.Object):
128
122
  ...
129
123
  def __str__(self) -> str:
130
124
  ...
131
- def apply_transformation(self, transformation: ...) -> None:
125
+ def apply_transformation(self, transformation: typing.Any) -> None:
132
126
  ...
133
127
  @typing.overload
134
128
  def contains(self, point: Point) -> 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
@@ -193,7 +184,7 @@ class Cuboid(ostk.mathematics.geometry.d3.Object):
193
184
  ...
194
185
  def __str__(self) -> str:
195
186
  ...
196
- def apply_transformation(self, transformation: ...) -> None:
187
+ def apply_transformation(self, transformation: typing.Any) -> None:
197
188
  ...
198
189
  def get_center(self) -> Point:
199
190
  ...
@@ -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:
@@ -241,7 +229,7 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
241
229
  def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real) -> None:
242
230
  ...
243
231
  @typing.overload
244
- def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real, orientation: ...) -> None:
232
+ def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real, orientation: typing.Any) -> None:
245
233
  ...
246
234
  def __ne__(self, arg0: Ellipsoid) -> bool:
247
235
  ...
@@ -249,7 +237,7 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
249
237
  ...
250
238
  def __str__(self) -> str:
251
239
  ...
252
- def apply_transformation(self, transformation: ...) -> None:
240
+ def apply_transformation(self, transformation: typing.Any) -> None:
253
241
  ...
254
242
  @typing.overload
255
243
  def contains(self, point: Point) -> bool:
@@ -288,10 +276,10 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
288
276
  def intersection(self, segment: Segment) -> ...:
289
277
  ...
290
278
  @typing.overload
291
- def intersection(self, pyramid: ..., only_in_sight: bool) -> ...:
279
+ def intersection(self, pyramid: typing.Any, only_in_sight: bool) -> ...:
292
280
  ...
293
281
  @typing.overload
294
- def intersection(self, cone: ..., only_in_sight: bool) -> ...:
282
+ def intersection(self, cone: typing.Any, only_in_sight: bool) -> ...:
295
283
  ...
296
284
  @typing.overload
297
285
  def intersects(self, point: Point) -> 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
@@ -334,7 +319,7 @@ class Line(ostk.mathematics.geometry.d3.Object):
334
319
  ...
335
320
  def __str__(self) -> str:
336
321
  ...
337
- def apply_transformation(self, transformation: ...) -> None:
322
+ def apply_transformation(self, transformation: typing.Any) -> None:
338
323
  ...
339
324
  @typing.overload
340
325
  def contains(self, point: Point) -> bool:
@@ -348,28 +333,25 @@ class Line(ostk.mathematics.geometry.d3.Object):
348
333
  ...
349
334
  def get_origin(self) -> Point:
350
335
  ...
351
- def intersection_with(self, plane: ...) -> ...:
336
+ def intersection_with(self, plane: typing.Any) -> ...:
352
337
  ...
353
338
  @typing.overload
354
339
  def intersects(self, point: Point) -> bool:
355
340
  ...
356
341
  @typing.overload
357
- def intersects(self, plane: ...) -> bool:
342
+ def intersects(self, plane: typing.Any) -> bool:
358
343
  ...
359
344
  @typing.overload
360
- def intersects(self, sphere: ...) -> bool:
345
+ def intersects(self, sphere: typing.Any) -> bool:
361
346
  ...
362
347
  @typing.overload
363
- def intersects(self, ellipsoid: ...) -> bool:
348
+ def intersects(self, ellipsoid: typing.Any) -> bool:
364
349
  ...
365
350
  def is_defined(self) -> bool:
366
351
  ...
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
@@ -393,7 +375,7 @@ class LineString(ostk.mathematics.geometry.d3.Object):
393
375
  ...
394
376
  def access_point_at(self, index: int) -> Point:
395
377
  ...
396
- def apply_transformation(self, transformation: ...) -> None:
378
+ def apply_transformation(self, transformation: typing.Any) -> None:
397
379
  ...
398
380
  def get_point_closest_to(self, point: Point) -> Point:
399
381
  ...
@@ -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:
@@ -423,7 +402,7 @@ class Plane(ostk.mathematics.geometry.d3.Object):
423
402
  ...
424
403
  def __str__(self) -> str:
425
404
  ...
426
- def apply_transformation(self, transformation: ...) -> None:
405
+ def apply_transformation(self, transformation: typing.Any) -> None:
427
406
  ...
428
407
  @typing.overload
429
408
  def contains(self, point: Point) -> 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
@@ -508,7 +484,7 @@ class Point(ostk.mathematics.geometry.d3.Object):
508
484
  @typing.overload
509
485
  def __sub__(self, arg0: Point) -> numpy.ndarray[numpy.float64[3, 1]]:
510
486
  ...
511
- def apply_transformation(self, transformation: ...) -> None:
487
+ def apply_transformation(self, transformation: typing.Any) -> None:
512
488
  ...
513
489
  def as_vector(self) -> numpy.ndarray[numpy.float64[3, 1]]:
514
490
  ...
@@ -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:
@@ -550,7 +523,7 @@ class PointSet(ostk.mathematics.geometry.d3.Object):
550
523
  ...
551
524
  def __str__(self) -> str:
552
525
  ...
553
- def apply_transformation(self, transformation: ...) -> None:
526
+ def apply_transformation(self, transformation: typing.Any) -> None:
554
527
  ...
555
528
  def distance_to(self, point: Point) -> ostk.core.type.Real:
556
529
  ...
@@ -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:
@@ -582,7 +552,7 @@ class Polygon(ostk.mathematics.geometry.d3.Object):
582
552
  ...
583
553
  def __str__(self) -> str:
584
554
  ...
585
- def apply_transformation(self, transformation: ...) -> None:
555
+ def apply_transformation(self, transformation: typing.Any) -> None:
586
556
  ...
587
557
  def get_edge_at(self, index: int) -> Segment:
588
558
  ...
@@ -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:
@@ -626,7 +593,7 @@ class Pyramid(ostk.mathematics.geometry.d3.Object):
626
593
  ...
627
594
  def __str__(self) -> str:
628
595
  ...
629
- def apply_transformation(self, transformation: ...) -> None:
596
+ def apply_transformation(self, transformation: typing.Any) -> None:
630
597
  ...
631
598
  @typing.overload
632
599
  def contains(self, point: Point) -> 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:
@@ -680,7 +644,7 @@ class Ray(ostk.mathematics.geometry.d3.Object):
680
644
  ...
681
645
  def __str__(self) -> str:
682
646
  ...
683
- def apply_transformation(self, transformation: ...) -> None:
647
+ def apply_transformation(self, transformation: typing.Any) -> None:
684
648
  ...
685
649
  @typing.overload
686
650
  def contains(self, point: Point) -> bool:
@@ -695,34 +659,31 @@ class Ray(ostk.mathematics.geometry.d3.Object):
695
659
  def get_origin(self) -> Point:
696
660
  ...
697
661
  @typing.overload
698
- def intersection_with(self, plane: ...) -> ...:
662
+ def intersection_with(self, plane: typing.Any) -> ...:
699
663
  ...
700
664
  @typing.overload
701
- def intersection_with(self, sphere: ..., only_in_sight: bool = False) -> ...:
665
+ def intersection_with(self, sphere: typing.Any, only_in_sight: bool = False) -> ...:
702
666
  ...
703
667
  @typing.overload
704
- def intersection_with(self, ellipsoid: ..., only_in_sight: bool = False) -> ...:
668
+ def intersection_with(self, ellipsoid: typing.Any, only_in_sight: bool = False) -> ...:
705
669
  ...
706
670
  @typing.overload
707
671
  def intersects(self, point: Point) -> bool:
708
672
  ...
709
673
  @typing.overload
710
- def intersects(self, plane: ...) -> bool:
674
+ def intersects(self, plane: typing.Any) -> bool:
711
675
  ...
712
676
  @typing.overload
713
- def intersects(self, sphere: ...) -> bool:
677
+ def intersects(self, sphere: typing.Any) -> bool:
714
678
  ...
715
679
  @typing.overload
716
- def intersects(self, ellipsoid: ...) -> bool:
680
+ def intersects(self, ellipsoid: typing.Any) -> bool:
717
681
  ...
718
682
  def is_defined(self) -> bool:
719
683
  ...
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:
@@ -735,7 +696,7 @@ class Segment(ostk.mathematics.geometry.d3.Object):
735
696
  ...
736
697
  def __str__(self) -> str:
737
698
  ...
738
- def apply_transformation(self, transformation: ...) -> None:
699
+ def apply_transformation(self, transformation: typing.Any) -> None:
739
700
  ...
740
701
  def contains(self, point: Point) -> bool:
741
702
  ...
@@ -755,16 +716,16 @@ class Segment(ostk.mathematics.geometry.d3.Object):
755
716
  ...
756
717
  def get_second_point(self) -> Point:
757
718
  ...
758
- def intersection_with(self, plane: ...) -> ...:
719
+ def intersection_with(self, plane: typing.Any) -> ...:
759
720
  ...
760
721
  @typing.overload
761
- def intersects(self, plane: ...) -> bool:
722
+ def intersects(self, plane: typing.Any) -> bool:
762
723
  ...
763
724
  @typing.overload
764
- def intersects(self, sphere: ...) -> bool:
725
+ def intersects(self, sphere: typing.Any) -> bool:
765
726
  ...
766
727
  @typing.overload
767
- def intersects(self, ellipsoid: ...) -> bool:
728
+ def intersects(self, ellipsoid: typing.Any) -> bool:
768
729
  ...
769
730
  def is_defined(self) -> bool:
770
731
  ...
@@ -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
@@ -793,7 +751,7 @@ class Sphere(ostk.mathematics.geometry.d3.Object):
793
751
  ...
794
752
  def __str__(self) -> str:
795
753
  ...
796
- def apply_transformation(self, transformation: ...) -> None:
754
+ def apply_transformation(self, transformation: typing.Any) -> None:
797
755
  ...
798
756
  @typing.overload
799
757
  def contains(self, point: Point) -> bool:
@@ -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,16 +49,13 @@ 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
- def quaternion(quaternion: Quaternion, axis_sequence: ...) -> EulerAngle:
52
+ def quaternion(quaternion: Quaternion, axis_sequence: typing.Any) -> EulerAngle:
59
53
  ...
60
54
  @staticmethod
61
- def rotation_matrix(rotation_matrix: RotationMatrix, axis_sequence: ...) -> EulerAngle:
55
+ def rotation_matrix(rotation_matrix: RotationMatrix, axis_sequence: typing.Any) -> EulerAngle:
62
56
  ...
63
57
  @staticmethod
64
- def rotation_vector(rotation_vector: RotationVector, axis_sequence: ...) -> EulerAngle:
58
+ def rotation_vector(rotation_vector: RotationVector, axis_sequence: typing.Any) -> EulerAngle:
65
59
  ...
66
60
  @staticmethod
67
61
  def undefined() -> EulerAngle:
@@ -70,21 +64,21 @@ class EulerAngle:
70
64
  def unit() -> EulerAngle:
71
65
  ...
72
66
  @staticmethod
73
- def xyz(phi: ..., theta: ..., psi: ...) -> EulerAngle:
67
+ def xyz(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
74
68
  ...
75
69
  @staticmethod
76
- def zxy(phi: ..., theta: ..., psi: ...) -> EulerAngle:
70
+ def zxy(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
77
71
  ...
78
72
  @staticmethod
79
- def zyx(phi: ..., theta: ..., psi: ...) -> EulerAngle:
73
+ def zyx(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
80
74
  ...
81
75
  def __eq__(self, arg0: EulerAngle) -> bool:
82
76
  ...
83
77
  @typing.overload
84
- def __init__(self, phi: ..., theta: ..., psi: ..., axis_sequence: ...) -> None:
78
+ def __init__(self, phi: typing.Any, theta: typing.Any, psi: typing.Any, axis_sequence: typing.Any) -> None:
85
79
  ...
86
80
  @typing.overload
87
- def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: ..., axis_sequence: ...) -> None:
81
+ def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: typing.Any, axis_sequence: typing.Any) -> None:
88
82
  ...
89
83
  def __ne__(self, arg0: EulerAngle) -> bool:
90
84
  ...
@@ -94,7 +88,7 @@ class EulerAngle:
94
88
  ...
95
89
  def is_defined(self) -> bool:
96
90
  ...
97
- def is_near(self, euler_angle: EulerAngle, angular_tolerance: ...) -> bool:
91
+ def is_near(self, euler_angle: EulerAngle, angular_tolerance: typing.Any) -> bool:
98
92
  ...
99
93
  def is_unitary(self) -> bool:
100
94
  ...
@@ -102,9 +96,9 @@ class EulerAngle:
102
96
  def to_string(self) -> ostk.core.type.String:
103
97
  ...
104
98
  @typing.overload
105
- def to_string(self, angle_unit: ...) -> ostk.core.type.String:
99
+ def to_string(self, angle_unit: typing.Any) -> ostk.core.type.String:
106
100
  ...
107
- def to_vector(self, angle_unit: ...) -> numpy.ndarray[numpy.float64[3, 1]]:
101
+ def to_vector(self, angle_unit: typing.Any) -> numpy.ndarray[numpy.float64[3, 1]]:
108
102
  ...
109
103
  @property
110
104
  def axis_sequence(self) -> ...:
@@ -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,10 +152,7 @@ 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
- def euler_angle(euler_angle: ...) -> Quaternion:
155
+ def euler_angle(euler_angle: typing.Any) -> Quaternion:
168
156
  ...
169
157
  @staticmethod
170
158
  def lerp(first_quaternion: Quaternion, second_quaternion: Quaternion, ratio: ostk.core.type.Real) -> Quaternion:
@@ -173,13 +161,13 @@ class Quaternion:
173
161
  def nlerp(first_quaternion: Quaternion, second_quaternion: Quaternion, ratio: ostk.core.type.Real) -> Quaternion:
174
162
  ...
175
163
  @staticmethod
176
- def parse(string: ostk.core.type.String, format: ...) -> Quaternion:
164
+ def parse(string: ostk.core.type.String, format: typing.Any) -> Quaternion:
177
165
  ...
178
166
  @staticmethod
179
- def rotation_matrix(rotation_matrix: ...) -> Quaternion:
167
+ def rotation_matrix(rotation_matrix: typing.Any) -> Quaternion:
180
168
  ...
181
169
  @staticmethod
182
- def rotation_vector(rotation_vector: ...) -> Quaternion:
170
+ def rotation_vector(rotation_vector: typing.Any) -> Quaternion:
183
171
  ...
184
172
  @staticmethod
185
173
  def shortest_rotation(first_vector: numpy.ndarray[numpy.float64[3, 1]], second_vector: numpy.ndarray[numpy.float64[3, 1]]) -> Quaternion:
@@ -203,10 +191,10 @@ class Quaternion:
203
191
  def __iadd__(self, arg0: Quaternion) -> Quaternion:
204
192
  ...
205
193
  @typing.overload
206
- def __init__(self, first_component: ostk.core.type.Real, second_component: ostk.core.type.Real, third_component: ostk.core.type.Real, fourth_component: ostk.core.type.Real, format: ...) -> None:
194
+ def __init__(self, first_component: ostk.core.type.Real, second_component: ostk.core.type.Real, third_component: ostk.core.type.Real, fourth_component: ostk.core.type.Real, format: typing.Any) -> None:
207
195
  ...
208
196
  @typing.overload
209
- def __init__(self, vector: numpy.ndarray[numpy.float64[4, 1]], format: ...) -> None:
197
+ def __init__(self, vector: numpy.ndarray[numpy.float64[4, 1]], format: typing.Any) -> None:
210
198
  ...
211
199
  @typing.overload
212
200
  def __init__(self, vector_part: numpy.ndarray[numpy.float64[3, 1]], scalar_part: ostk.core.type.Real) -> None:
@@ -255,7 +243,7 @@ class Quaternion:
255
243
  ...
256
244
  def is_defined(self) -> bool:
257
245
  ...
258
- def is_near(self, quaternion: Quaternion, angular_tolerance: ...) -> bool:
246
+ def is_near(self, quaternion: Quaternion, angular_tolerance: typing.Any) -> bool:
259
247
  ...
260
248
  def is_unitary(self, norm_tolerance: ostk.core.type.Real = ...) -> bool:
261
249
  ...
@@ -283,9 +271,9 @@ class Quaternion:
283
271
  def to_string(self) -> ostk.core.type.String:
284
272
  ...
285
273
  @typing.overload
286
- def to_string(self, arg0: ...) -> ostk.core.type.String:
274
+ def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
287
275
  ...
288
- def to_vector(self, format: ...) -> numpy.ndarray[numpy.float64[4, 1]]:
276
+ def to_vector(self, format: typing.Any) -> numpy.ndarray[numpy.float64[4, 1]]:
289
277
  ...
290
278
  def x(self) -> ostk.core.type.Real:
291
279
  ...
@@ -296,13 +284,10 @@ 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
305
- def euler_angle(euler_angle: ...) -> RotationMatrix:
290
+ def euler_angle(euler_angle: typing.Any) -> RotationMatrix:
306
291
  ...
307
292
  @staticmethod
308
293
  def quaternion(quaternion: Quaternion) -> RotationMatrix:
@@ -314,13 +299,13 @@ class RotationMatrix:
314
299
  def rows(first_row: numpy.ndarray[numpy.float64[3, 1]], second_row: numpy.ndarray[numpy.float64[3, 1]], third_row: numpy.ndarray[numpy.float64[3, 1]]) -> RotationMatrix:
315
300
  ...
316
301
  @staticmethod
317
- def rx(rotation_angle: ...) -> RotationMatrix:
302
+ def rx(rotation_angle: typing.Any) -> RotationMatrix:
318
303
  ...
319
304
  @staticmethod
320
- def ry(rotation_angle: ...) -> RotationMatrix:
305
+ def ry(rotation_angle: typing.Any) -> RotationMatrix:
321
306
  ...
322
307
  @staticmethod
323
- def rz(rotation_angle: ...) -> RotationMatrix:
308
+ def rz(rotation_angle: typing.Any) -> RotationMatrix:
324
309
  ...
325
310
  @staticmethod
326
311
  def undefined() -> RotationMatrix:
@@ -363,16 +348,13 @@ 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
- def euler_angle(euler_angle: ...) -> RotationVector:
351
+ def euler_angle(euler_angle: typing.Any) -> RotationVector:
370
352
  ...
371
353
  @staticmethod
372
354
  def quaternion(quaternion: Quaternion) -> RotationVector:
373
355
  ...
374
356
  @staticmethod
375
- def rotation_matrix(rotation_matrix: ...) -> RotationVector:
357
+ def rotation_matrix(rotation_matrix: typing.Any) -> RotationVector:
376
358
  ...
377
359
  @staticmethod
378
360
  def undefined() -> RotationVector:
@@ -381,21 +363,21 @@ class RotationVector:
381
363
  def unit() -> RotationVector:
382
364
  ...
383
365
  @staticmethod
384
- def x(angle: ...) -> RotationVector:
366
+ def x(angle: typing.Any) -> RotationVector:
385
367
  ...
386
368
  @staticmethod
387
- def y(angle: ...) -> RotationVector:
369
+ def y(angle: typing.Any) -> RotationVector:
388
370
  ...
389
371
  @staticmethod
390
- def z(angle: ...) -> RotationVector:
372
+ def z(angle: typing.Any) -> RotationVector:
391
373
  ...
392
374
  def __eq__(self, arg0: RotationVector) -> bool:
393
375
  ...
394
376
  @typing.overload
395
- def __init__(self, axis: numpy.ndarray[numpy.float64[3, 1]], angle: ...) -> None:
377
+ def __init__(self, axis: numpy.ndarray[numpy.float64[3, 1]], angle: typing.Any) -> None:
396
378
  ...
397
379
  @typing.overload
398
- def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: ...) -> None:
380
+ def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: typing.Any) -> None:
399
381
  ...
400
382
  def __ne__(self, arg0: RotationVector) -> bool:
401
383
  ...
@@ -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
@@ -91,7 +85,7 @@ class RealInterval:
91
85
  ...
92
86
  def __eq__(self, arg0: RealInterval) -> bool:
93
87
  ...
94
- def __init__(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real, type: ...) -> None:
88
+ def __init__(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real, type: typing.Any) -> None:
95
89
  ...
96
90
  def __ne__(self, arg0: RealInterval) -> bool:
97
91
  ...
@@ -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,23 +89,20 @@ 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
104
- def string_from_log_type(log_type: ...) -> ostk.core.type.String:
95
+ def string_from_log_type(log_type: typing.Any) -> ostk.core.type.String:
105
96
  ...
106
97
  @staticmethod
107
- def string_from_stepper_type(stepper_type: ...) -> ostk.core.type.String:
98
+ def string_from_stepper_type(stepper_type: typing.Any) -> ostk.core.type.String:
108
99
  ...
109
100
  @staticmethod
110
101
  def undefined() -> NumericalSolver:
111
102
  ...
112
103
  def __eq__(self, arg0: NumericalSolver) -> bool:
113
104
  ...
114
- def __init__(self, log_type: ..., stepper_type: ..., time_step: ostk.core.type.Real, relative_tolerance: ostk.core.type.Real, absolute_tolerance: ostk.core.type.Real) -> None:
105
+ def __init__(self, log_type: typing.Any, stepper_type: typing.Any, time_step: ostk.core.type.Real, relative_tolerance: ostk.core.type.Real, absolute_tolerance: ostk.core.type.Real) -> None:
115
106
  ...
116
107
  def __ne__(self, arg0: NumericalSolver) -> bool:
117
108
  ...
@@ -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