open-space-toolkit-mathematics 4.0.0__py311-none-manylinux2014_aarch64.whl → 4.0.1__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: open-space-toolkit-mathematics
3
- Version: 4.0.0
3
+ Version: 4.0.1
4
4
  Summary: Geometry, curve fitting, optimization.
5
5
  Author: Open Space Collective
6
6
  Author-email: contact@open-space-collective.org
@@ -1,7 +1,7 @@
1
1
  ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
2
- ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-311-aarch64-linux-gnu.so,sha256=sLGRmN4l6QZBz3dmMl3upKqUJfxPwE89VA-62PTgk_U,1529512
2
+ ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-311-aarch64-linux-gnu.so,sha256=gUxLHobXaL_7_4eayfTT31dVLqFT0kP_xC-hBtbvZaQ,1509032
3
3
  ostk/mathematics/__init__.py,sha256=U81I6jh2hIPyuT4dtZjNcLi-CQ8yXIvtFn32tVK1YCY,92
4
- ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=ZzRpwMuFq2xVhlY7yyVXiFkN0iBEa1U9iiMo9Ja2244,2496952
4
+ ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=xnL1DaFwUYYMVtCymNUZ0X_I-visG0ISIACY67HfxtA,2505264
5
5
  ostk/mathematics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
6
6
  ostk/mathematics/test/test_object.py,sha256=WtksTu9zz8_UNkQYKLO64nNBFDBkRWM_DXFuAWTdKUM,1027
7
7
  ostk/mathematics/test/curve_fitting/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
@@ -46,11 +46,11 @@ ostk/mathematics/test/geometry/d3/transformation/rotation/test_quaternion.py,sha
46
46
  ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_matrix.py,sha256=pD-zR2e1uMTD2eenjQiFPPMKji_gdnuYPuDYQ7pGgUg,1055
47
47
  ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_vector.py,sha256=ngzrvqH_0QRGwNsWc2RupUkpsTU5vZI-eoh5q2BkKRQ,1568
48
48
  ostk/mathematics/test/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
49
- ostk/mathematics/test/object/test_interval.py,sha256=yZT4eo5kM4iBE1GBoOxlESaUl5QL3xdsZwrG-6fA7ME,17941
49
+ ostk/mathematics/test/object/test_interval.py,sha256=UhC_o_JVtGCh_BgfFyuEBKddocoNcFP0pfBviUReuhE,17632
50
50
  ostk/mathematics/test/object/test_vector.py,sha256=5MG3s8vhgoGKAIc5GzswlZObyIrJDIPNtsEd5wNORPU,76
51
- ostk/mathematics/test/solver/test_numerical_solver.py,sha256=YJo-z97w1tkRFJOAWjjvPywkBVCfCr9MJzuNi_cVIBg,5674
52
- open_space_toolkit_mathematics-4.0.0.dist-info/METADATA,sha256=lfPPhP01fMLTuEEtbngar4hojEeNLaldVw7Gkn7CQXc,1801
53
- open_space_toolkit_mathematics-4.0.0.dist-info/WHEEL,sha256=h9TaMbPB1BovPKwlvSaCuTdYgm5aUYUaf-u2SW3FZmQ,111
54
- open_space_toolkit_mathematics-4.0.0.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
55
- open_space_toolkit_mathematics-4.0.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
56
- open_space_toolkit_mathematics-4.0.0.dist-info/RECORD,,
51
+ ostk/mathematics/test/solver/test_numerical_solver.py,sha256=5Z7uXlvfQ_pjrSAOd7ff-ky5pjRZk3-R0F565FfCUrU,5672
52
+ open_space_toolkit_mathematics-4.0.1.dist-info/METADATA,sha256=CkN4GIzqDb6WBWuVKv2kznpX3IufcqAD3UCQooTnVFY,1801
53
+ open_space_toolkit_mathematics-4.0.1.dist-info/WHEEL,sha256=h9TaMbPB1BovPKwlvSaCuTdYgm5aUYUaf-u2SW3FZmQ,111
54
+ open_space_toolkit_mathematics-4.0.1.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
55
+ open_space_toolkit_mathematics-4.0.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
56
+ open_space_toolkit_mathematics-4.0.1.dist-info/RECORD,,
@@ -35,39 +35,33 @@ class TestInterval:
35
35
  interval_1 = RealInterval(-4.31, 1.0, Type.Open)
36
36
  interval_2 = RealInterval(-2.0, -1.0, Type.Closed)
37
37
  interval_3 = RealInterval(3.5, 4567.35566, Type.HalfOpenRight)
38
- interval_4 = RealInterval(1.45, 1.45, Type.Open)
39
- interval_5 = RealInterval(1.45, 1.45, Type.Closed)
38
+ interval_4 = RealInterval(1.45, 1.45, Type.Closed)
40
39
 
41
40
  assert isinstance(interval_1, RealInterval)
42
41
  assert isinstance(interval_2, RealInterval)
43
42
  assert isinstance(interval_3, RealInterval)
44
43
  assert isinstance(interval_4, RealInterval)
45
- assert isinstance(interval_5, RealInterval)
46
44
  assert interval_1 is not None
47
45
  assert interval_2 is not None
48
46
  assert interval_3 is not None
49
47
  assert interval_4 is not None
50
- assert interval_5 is not None
51
48
 
52
49
  with pytest.raises(TypeError):
53
50
  interval = RealInterval(3.0, 1, Type.Closed)
54
51
 
55
- interval_6 = RealInterval(Real(-4.31), Real(1.0), Type.Open)
56
- interval_7 = RealInterval(Real(-2.0), Real(-1.0), Type.Closed)
57
- interval_8 = RealInterval(Real(3.5), Real(4567.35566), Type.HalfOpenRight)
58
- interval_9 = RealInterval(Real(1.45), Real(1.45), Type.Open)
59
- interval_10 = RealInterval(Real(1.45), Real(1.45), Type.Closed)
52
+ interval_5 = RealInterval(Real(-4.31), Real(1.0), Type.Open)
53
+ interval_6 = RealInterval(Real(-2.0), Real(-1.0), Type.Closed)
54
+ interval_7 = RealInterval(Real(3.5), Real(4567.35566), Type.HalfOpenRight)
55
+ interval_8 = RealInterval(Real(1.45), Real(1.45), Type.Closed)
60
56
 
57
+ assert isinstance(interval_5, RealInterval)
61
58
  assert isinstance(interval_6, RealInterval)
62
59
  assert isinstance(interval_7, RealInterval)
63
60
  assert isinstance(interval_8, RealInterval)
64
- assert isinstance(interval_9, RealInterval)
65
- assert isinstance(interval_10, RealInterval)
61
+ assert interval_5 is not None
66
62
  assert interval_6 is not None
67
63
  assert interval_7 is not None
68
64
  assert interval_8 is not None
69
- assert interval_9 is not None
70
- assert interval_10 is not None
71
65
 
72
66
  # Interval Bounds
73
67
  a = -4.31
@@ -30,8 +30,8 @@ def numerical_solver_default_inputs() -> (
30
30
  log_type = NumericalSolver.LogType.NoLog
31
31
  stepper_type = NumericalSolver.StepperType.RungeKuttaCashKarp54
32
32
  initial_time_step = 5.0
33
- relative_tolerance = 1.0e-15
34
- absolute_tolerance = 1.0e-15
33
+ relative_tolerance = 1.0e-12
34
+ absolute_tolerance = 1.0e-12
35
35
 
36
36
  return (
37
37
  log_type,
@@ -53,8 +53,8 @@ def numerical_solver_conditional() -> NumericalSolver:
53
53
  NumericalSolver.LogType.NoLog,
54
54
  NumericalSolver.StepperType.RungeKuttaDopri5,
55
55
  5.0,
56
- 1.0e-15,
57
- 1.0e-15,
56
+ 1.0e-12,
57
+ 1.0e-12,
58
58
  )
59
59
 
60
60
 
@@ -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, 1000.0, 50.0)
136
+ integration_durations = np.arange(100.0, 200.0, 50.0)
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, 1000.0, 50.0)
160
+ end_times = np.arange(600.0, 700.0, 50.0)
161
161
  solutions = numerical_solver.integrate_time(
162
162
  initial_state_vec, start_time, end_times, oscillator
163
163
  )