open-space-toolkit-mathematics 4.3.2__py313-none-manylinux2014_x86_64.whl → 4.4.1__py313-none-manylinux2014_x86_64.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 (25) hide show
  1. {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/METADATA +3 -3
  2. {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/RECORD +25 -13
  3. {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/WHEEL +1 -1
  4. ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so +0 -0
  5. ostk/mathematics/__init__.pyi +11 -0
  6. ostk/mathematics/curve_fitting/__init__.pyi +65 -0
  7. ostk/mathematics/curve_fitting/interpolator.pyi +46 -0
  8. ostk/mathematics/geometry/__init__.pyi +178 -0
  9. ostk/mathematics/geometry/d2/__init__.pyi +315 -0
  10. ostk/mathematics/geometry/d2/object.pyi +405 -0
  11. ostk/mathematics/geometry/d3/__init__.pyi +351 -0
  12. ostk/mathematics/geometry/d3/object.pyi +837 -0
  13. ostk/mathematics/geometry/d3/transformation/__init__.pyi +3 -0
  14. ostk/mathematics/geometry/d3/transformation/rotation.pyi +421 -0
  15. ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
  16. ostk/mathematics/object.pyi +123 -0
  17. ostk/mathematics/solver.pyi +147 -0
  18. ostk/mathematics/test/geometry/d2/conftest.py +6 -9
  19. ostk/mathematics/test/geometry/d2/object/test_composite.py +4 -7
  20. ostk/mathematics/test/geometry/d2/object/test_multipolygon.py +3 -10
  21. ostk/mathematics/test/geometry/d2/object/test_point_set.py +3 -6
  22. ostk/mathematics/test/geometry/d3/object/test_point_set.py +5 -8
  23. ostk/mathematics/test/solver/test_numerical_solver.py +2 -2
  24. {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/top_level.txt +0 -0
  25. {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/zip-safe +0 -0
@@ -4,15 +4,12 @@ import pytest
4
4
 
5
5
  import numpy as np
6
6
 
7
- import ostk.mathematics as mathematics
8
-
9
-
10
- Point = mathematics.geometry.d2.object.Point
11
- PointSet = mathematics.geometry.d2.object.PointSet
12
- Line = mathematics.geometry.d2.object.Line
13
- Segment = mathematics.geometry.d2.object.Segment
14
- Polygon = mathematics.geometry.d2.object.Polygon
15
- Composite = mathematics.geometry.d2.object.Composite
7
+ from ostk.mathematics.geometry.d2.object import Point
8
+ from ostk.mathematics.geometry.d2.object import PointSet
9
+ from ostk.mathematics.geometry.d2.object import Line
10
+ from ostk.mathematics.geometry.d2.object import Segment
11
+ from ostk.mathematics.geometry.d2.object import Polygon
12
+ from ostk.mathematics.geometry.d2.object import Composite
16
13
 
17
14
 
18
15
  @pytest.fixture
@@ -2,13 +2,10 @@
2
2
 
3
3
  import pytest
4
4
 
5
- import ostk.mathematics as mathematics
6
-
7
-
8
- Object = mathematics.geometry.d2.Object
9
- Point = mathematics.geometry.d2.object.Point
10
- Polygon = mathematics.geometry.d2.object.Polygon
11
- Composite = mathematics.geometry.d2.object.Composite
5
+ from ostk.mathematics.geometry.d2 import Object
6
+ from ostk.mathematics.geometry.d2.object import Point
7
+ from ostk.mathematics.geometry.d2.object import Polygon
8
+ from ostk.mathematics.geometry.d2.object import Composite
12
9
 
13
10
 
14
11
  class TestComposite:
@@ -1,17 +1,10 @@
1
1
  # Apache License 2.0
2
2
 
3
- import pytest
4
-
5
3
  import numpy as np
6
4
 
7
- import ostk.mathematics as mathematics
8
-
9
- from ostk.core.type import String
10
-
11
-
12
- Object = mathematics.geometry.d2.Object
13
- Polygon = mathematics.geometry.d2.object.Polygon
14
- MultiPolygon = mathematics.geometry.d2.object.MultiPolygon
5
+ from ostk.mathematics.geometry.d2 import Object
6
+ from ostk.mathematics.geometry.d2.object import Polygon
7
+ from ostk.mathematics.geometry.d2.object import MultiPolygon
15
8
 
16
9
 
17
10
  class TestMultipolygon:
@@ -2,12 +2,9 @@
2
2
 
3
3
  from collections.abc import Iterator, Iterable
4
4
 
5
- import ostk.mathematics as mathematics
6
-
7
-
8
- Object = mathematics.geometry.d2.Object
9
- Point = mathematics.geometry.d2.object.Point
10
- PointSet = mathematics.geometry.d2.object.PointSet
5
+ from ostk.mathematics.geometry.d2 import Object
6
+ from ostk.mathematics.geometry.d2.object import Point
7
+ from ostk.mathematics.geometry.d2.object import PointSet
11
8
 
12
9
 
13
10
  class TestPointSet:
@@ -4,13 +4,10 @@ from collections.abc import Iterator, Iterable
4
4
 
5
5
  import pytest
6
6
 
7
- import ostk.mathematics as mathematics
8
-
9
-
10
- Object = mathematics.geometry.d3.Object
11
- Point = mathematics.geometry.d3.object.Point
12
- PointSet = mathematics.geometry.d3.object.PointSet
13
- Transformation = mathematics.geometry.d3.Transformation
7
+ from ostk.mathematics.geometry.d3 import Object
8
+ from ostk.mathematics.geometry.d3 import Transformation
9
+ from ostk.mathematics.geometry.d3.object import Point
10
+ from ostk.mathematics.geometry.d3.object import PointSet
14
11
 
15
12
 
16
13
  @pytest.fixture
@@ -52,7 +49,7 @@ class TestPointSet:
52
49
  assert point_set.is_defined()
53
50
 
54
51
  def test_empty_success(self):
55
- point_set: Pointset = PointSet.empty()
52
+ point_set: PointSet = PointSet.empty()
56
53
 
57
54
  assert point_set is not None
58
55
  assert isinstance(point_set, PointSet)
@@ -133,7 +133,7 @@ class TestNumericalSolver:
133
133
  assert 5e-9 >= abs(state_vector[0] - math.sin(integration_duration))
134
134
  assert 5e-9 >= abs(state_vector[1] - math.cos(integration_duration))
135
135
 
136
- integration_durations = np.arange(100.0, 200.0, 50.0)
136
+ integration_durations = np.arange(100.0, 200.0, 50.0).astype(float)
137
137
  solutions = numerical_solver.integrate_duration(
138
138
  initial_state_vec, integration_durations, oscillator
139
139
  )
@@ -157,7 +157,7 @@ class TestNumericalSolver:
157
157
  assert 5e-9 >= abs(state_vector[0] - math.sin(end_time))
158
158
  assert 5e-9 >= abs(state_vector[1] - math.cos(end_time))
159
159
 
160
- end_times = np.arange(600.0, 700.0, 50.0)
160
+ end_times = np.arange(600.0, 700.0, 50.0).astype(float)
161
161
  solutions = numerical_solver.integrate_time(
162
162
  initial_state_vec, start_time, end_times, oscillator
163
163
  )