@interstellar-tools/equations 0.48.0 → 0.50.0

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.
Files changed (230) hide show
  1. package/dist/categories/angle/compute-angle.d.ts +1 -1
  2. package/dist/categories/angle/compute-angle.js +4 -4
  3. package/dist/categories/angle/compute-angle.js.map +1 -1
  4. package/dist/categories/anomalies/mean-to-eccentric-anomaly.d.ts +1 -1
  5. package/dist/categories/anomalies/mean-to-eccentric-anomaly.js +4 -4
  6. package/dist/categories/anomalies/mean-to-eccentric-anomaly.js.map +1 -1
  7. package/dist/categories/anomalies/true-to-mean-anomaly.d.ts +1 -1
  8. package/dist/categories/anomalies/true-to-mean-anomaly.js +2 -2
  9. package/dist/categories/anomalies/true-to-mean-anomaly.js.map +1 -1
  10. package/dist/categories/cartography/body-fixed-from-inertial-dcm-iau.js +3 -3
  11. package/dist/categories/cartography/body-fixed-from-inertial-dcm-iau.js.map +1 -1
  12. package/dist/categories/gravity/acceleration-on1-by2.js +1 -1
  13. package/dist/categories/gravity/acceleration-on1-by2.js.map +1 -1
  14. package/dist/categories/gravity/force-on1-by2.js +1 -1
  15. package/dist/categories/gravity/force-on1-by2.js.map +1 -1
  16. package/dist/categories/kepler/solve-kepler-high-eccentricity.d.ts +1 -1
  17. package/dist/categories/kepler/solve-kepler-high-eccentricity.js +2 -2
  18. package/dist/categories/kepler/solve-kepler-high-eccentricity.js.map +1 -1
  19. package/dist/categories/kepler/solve-kepler.d.ts +1 -1
  20. package/dist/categories/kepler/solve-kepler.js +5 -5
  21. package/dist/categories/kepler/solve-kepler.js.map +1 -1
  22. package/dist/index.d.ts +49 -49
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +49 -49
  25. package/dist/index.js.map +1 -1
  26. package/package.json +4 -4
  27. package/dist/__tests__/helpers/index.d.ts +0 -9
  28. package/dist/__tests__/helpers/index.d.ts.map +0 -1
  29. package/dist/__tests__/helpers/index.js +0 -45
  30. package/dist/__tests__/helpers/index.js.map +0 -1
  31. package/dist/categories/angle/__tests__/compute-angle.int.spec.d.ts +0 -2
  32. package/dist/categories/angle/__tests__/compute-angle.int.spec.d.ts.map +0 -1
  33. package/dist/categories/angle/__tests__/compute-angle.int.spec.js +0 -62
  34. package/dist/categories/angle/__tests__/compute-angle.int.spec.js.map +0 -1
  35. package/dist/categories/angle/__tests__/wrap-angle.spec.d.ts +0 -2
  36. package/dist/categories/angle/__tests__/wrap-angle.spec.d.ts.map +0 -1
  37. package/dist/categories/angle/__tests__/wrap-angle.spec.js +0 -60
  38. package/dist/categories/angle/__tests__/wrap-angle.spec.js.map +0 -1
  39. package/dist/categories/anomalies/__tests__/eccentric-to-true-anomaly.spec.d.ts +0 -2
  40. package/dist/categories/anomalies/__tests__/eccentric-to-true-anomaly.spec.d.ts.map +0 -1
  41. package/dist/categories/anomalies/__tests__/eccentric-to-true-anomaly.spec.js +0 -33
  42. package/dist/categories/anomalies/__tests__/eccentric-to-true-anomaly.spec.js.map +0 -1
  43. package/dist/categories/anomalies/__tests__/mean-to-eccentric-anomaly.spec.d.ts +0 -2
  44. package/dist/categories/anomalies/__tests__/mean-to-eccentric-anomaly.spec.d.ts.map +0 -1
  45. package/dist/categories/anomalies/__tests__/mean-to-eccentric-anomaly.spec.js +0 -197
  46. package/dist/categories/anomalies/__tests__/mean-to-eccentric-anomaly.spec.js.map +0 -1
  47. package/dist/categories/anomalies/__tests__/true-to-mean-anomaly.spec.d.ts +0 -2
  48. package/dist/categories/anomalies/__tests__/true-to-mean-anomaly.spec.d.ts.map +0 -1
  49. package/dist/categories/anomalies/__tests__/true-to-mean-anomaly.spec.js +0 -46
  50. package/dist/categories/anomalies/__tests__/true-to-mean-anomaly.spec.js.map +0 -1
  51. package/dist/categories/cartography/__tests__/body-fixed-from-inertial-dcm-iau.int.spec.d.ts +0 -2
  52. package/dist/categories/cartography/__tests__/body-fixed-from-inertial-dcm-iau.int.spec.d.ts.map +0 -1
  53. package/dist/categories/cartography/__tests__/body-fixed-from-inertial-dcm-iau.int.spec.js +0 -56
  54. package/dist/categories/cartography/__tests__/body-fixed-from-inertial-dcm-iau.int.spec.js.map +0 -1
  55. package/dist/categories/cartography/__tests__/eccentricity-squared-oblate-spheroid.spec.d.ts +0 -2
  56. package/dist/categories/cartography/__tests__/eccentricity-squared-oblate-spheroid.spec.d.ts.map +0 -1
  57. package/dist/categories/cartography/__tests__/eccentricity-squared-oblate-spheroid.spec.js +0 -60
  58. package/dist/categories/cartography/__tests__/eccentricity-squared-oblate-spheroid.spec.js.map +0 -1
  59. package/dist/categories/cartography/__tests__/flattening-oblate-spheroid.spec.d.ts +0 -2
  60. package/dist/categories/cartography/__tests__/flattening-oblate-spheroid.spec.d.ts.map +0 -1
  61. package/dist/categories/cartography/__tests__/flattening-oblate-spheroid.spec.js +0 -60
  62. package/dist/categories/cartography/__tests__/flattening-oblate-spheroid.spec.js.map +0 -1
  63. package/dist/categories/cartography/__tests__/is-on-triaxial-ellipsoid-surface.spec.d.ts +0 -2
  64. package/dist/categories/cartography/__tests__/is-on-triaxial-ellipsoid-surface.spec.d.ts.map +0 -1
  65. package/dist/categories/cartography/__tests__/is-on-triaxial-ellipsoid-surface.spec.js +0 -73
  66. package/dist/categories/cartography/__tests__/is-on-triaxial-ellipsoid-surface.spec.js.map +0 -1
  67. package/dist/categories/cartography/__tests__/planetocentric-latitude.spec.d.ts +0 -2
  68. package/dist/categories/cartography/__tests__/planetocentric-latitude.spec.d.ts.map +0 -1
  69. package/dist/categories/cartography/__tests__/planetocentric-latitude.spec.js +0 -69
  70. package/dist/categories/cartography/__tests__/planetocentric-latitude.spec.js.map +0 -1
  71. package/dist/categories/cartography/__tests__/planetographic-latitude-oblate.spec.d.ts +0 -2
  72. package/dist/categories/cartography/__tests__/planetographic-latitude-oblate.spec.d.ts.map +0 -1
  73. package/dist/categories/cartography/__tests__/planetographic-latitude-oblate.spec.js +0 -103
  74. package/dist/categories/cartography/__tests__/planetographic-latitude-oblate.spec.js.map +0 -1
  75. package/dist/categories/gravity/__tests__/gravitational-acceleration-on1-by2.int.spec.d.ts +0 -2
  76. package/dist/categories/gravity/__tests__/gravitational-acceleration-on1-by2.int.spec.d.ts.map +0 -1
  77. package/dist/categories/gravity/__tests__/gravitational-acceleration-on1-by2.int.spec.js +0 -87
  78. package/dist/categories/gravity/__tests__/gravitational-acceleration-on1-by2.int.spec.js.map +0 -1
  79. package/dist/categories/gravity/__tests__/gravitational-force-on1-by2.int.spec.d.ts +0 -2
  80. package/dist/categories/gravity/__tests__/gravitational-force-on1-by2.int.spec.d.ts.map +0 -1
  81. package/dist/categories/gravity/__tests__/gravitational-force-on1-by2.int.spec.js +0 -107
  82. package/dist/categories/gravity/__tests__/gravitational-force-on1-by2.int.spec.js.map +0 -1
  83. package/dist/categories/gravity/__tests__/gravitational-force.spec.d.ts +0 -2
  84. package/dist/categories/gravity/__tests__/gravitational-force.spec.d.ts.map +0 -1
  85. package/dist/categories/gravity/__tests__/gravitational-force.spec.js +0 -106
  86. package/dist/categories/gravity/__tests__/gravitational-force.spec.js.map +0 -1
  87. package/dist/categories/gravity/__tests__/gravitational-parameters.spec.d.ts +0 -2
  88. package/dist/categories/gravity/__tests__/gravitational-parameters.spec.d.ts.map +0 -1
  89. package/dist/categories/gravity/__tests__/gravitational-parameters.spec.js +0 -75
  90. package/dist/categories/gravity/__tests__/gravitational-parameters.spec.js.map +0 -1
  91. package/dist/categories/helpers/__tests__/apply-matrix-3.spec.d.ts +0 -2
  92. package/dist/categories/helpers/__tests__/apply-matrix-3.spec.d.ts.map +0 -1
  93. package/dist/categories/helpers/__tests__/apply-matrix-3.spec.js +0 -79
  94. package/dist/categories/helpers/__tests__/apply-matrix-3.spec.js.map +0 -1
  95. package/dist/categories/helpers/__tests__/det-3.spec.d.ts +0 -2
  96. package/dist/categories/helpers/__tests__/det-3.spec.d.ts.map +0 -1
  97. package/dist/categories/helpers/__tests__/det-3.spec.js +0 -73
  98. package/dist/categories/helpers/__tests__/det-3.spec.js.map +0 -1
  99. package/dist/categories/helpers/__tests__/mat-mul3.spec.d.ts +0 -2
  100. package/dist/categories/helpers/__tests__/mat-mul3.spec.d.ts.map +0 -1
  101. package/dist/categories/helpers/__tests__/mat-mul3.spec.js +0 -86
  102. package/dist/categories/helpers/__tests__/mat-mul3.spec.js.map +0 -1
  103. package/dist/categories/helpers/__tests__/misc.spec.d.ts +0 -2
  104. package/dist/categories/helpers/__tests__/misc.spec.d.ts.map +0 -1
  105. package/dist/categories/helpers/__tests__/misc.spec.js +0 -101
  106. package/dist/categories/helpers/__tests__/misc.spec.js.map +0 -1
  107. package/dist/categories/helpers/__tests__/radians.spec.d.ts +0 -2
  108. package/dist/categories/helpers/__tests__/radians.spec.d.ts.map +0 -1
  109. package/dist/categories/helpers/__tests__/radians.spec.js +0 -37
  110. package/dist/categories/helpers/__tests__/radians.spec.js.map +0 -1
  111. package/dist/categories/helpers/__tests__/rot-1.spec.d.ts +0 -2
  112. package/dist/categories/helpers/__tests__/rot-1.spec.d.ts.map +0 -1
  113. package/dist/categories/helpers/__tests__/rot-1.spec.js +0 -59
  114. package/dist/categories/helpers/__tests__/rot-1.spec.js.map +0 -1
  115. package/dist/categories/helpers/__tests__/rot-3.spec.d.ts +0 -2
  116. package/dist/categories/helpers/__tests__/rot-3.spec.d.ts.map +0 -1
  117. package/dist/categories/helpers/__tests__/rot-3.spec.js +0 -65
  118. package/dist/categories/helpers/__tests__/rot-3.spec.js.map +0 -1
  119. package/dist/categories/kepler/__tests__/solve-kepler-bisection.spec.d.ts +0 -2
  120. package/dist/categories/kepler/__tests__/solve-kepler-bisection.spec.d.ts.map +0 -1
  121. package/dist/categories/kepler/__tests__/solve-kepler-bisection.spec.js +0 -86
  122. package/dist/categories/kepler/__tests__/solve-kepler-bisection.spec.js.map +0 -1
  123. package/dist/categories/kepler/__tests__/solve-kepler-high-eccentricity.spec.d.ts +0 -2
  124. package/dist/categories/kepler/__tests__/solve-kepler-high-eccentricity.spec.d.ts.map +0 -1
  125. package/dist/categories/kepler/__tests__/solve-kepler-high-eccentricity.spec.js +0 -81
  126. package/dist/categories/kepler/__tests__/solve-kepler-high-eccentricity.spec.js.map +0 -1
  127. package/dist/categories/kepler/__tests__/solve-kepler-newton-raphson.spec.d.ts +0 -2
  128. package/dist/categories/kepler/__tests__/solve-kepler-newton-raphson.spec.d.ts.map +0 -1
  129. package/dist/categories/kepler/__tests__/solve-kepler-newton-raphson.spec.js +0 -50
  130. package/dist/categories/kepler/__tests__/solve-kepler-newton-raphson.spec.js.map +0 -1
  131. package/dist/categories/kepler/__tests__/solve-kepler.int.spec.d.ts +0 -2
  132. package/dist/categories/kepler/__tests__/solve-kepler.int.spec.d.ts.map +0 -1
  133. package/dist/categories/kepler/__tests__/solve-kepler.int.spec.js +0 -76
  134. package/dist/categories/kepler/__tests__/solve-kepler.int.spec.js.map +0 -1
  135. package/dist/categories/manoeuvres/__tests__/combine-burns-delta-v.spec.d.ts +0 -2
  136. package/dist/categories/manoeuvres/__tests__/combine-burns-delta-v.spec.d.ts.map +0 -1
  137. package/dist/categories/manoeuvres/__tests__/combine-burns-delta-v.spec.js +0 -103
  138. package/dist/categories/manoeuvres/__tests__/combine-burns-delta-v.spec.js.map +0 -1
  139. package/dist/categories/manoeuvres/__tests__/gravity-assist-turning-angle.spec.d.ts +0 -2
  140. package/dist/categories/manoeuvres/__tests__/gravity-assist-turning-angle.spec.d.ts.map +0 -1
  141. package/dist/categories/manoeuvres/__tests__/gravity-assist-turning-angle.spec.js +0 -89
  142. package/dist/categories/manoeuvres/__tests__/gravity-assist-turning-angle.spec.js.map +0 -1
  143. package/dist/categories/manoeuvres/__tests__/hohmann-transfer.spec.d.ts +0 -2
  144. package/dist/categories/manoeuvres/__tests__/hohmann-transfer.spec.d.ts.map +0 -1
  145. package/dist/categories/manoeuvres/__tests__/hohmann-transfer.spec.js +0 -101
  146. package/dist/categories/manoeuvres/__tests__/hohmann-transfer.spec.js.map +0 -1
  147. package/dist/categories/manoeuvres/__tests__/oberth-energy-gain.spec.d.ts +0 -2
  148. package/dist/categories/manoeuvres/__tests__/oberth-energy-gain.spec.d.ts.map +0 -1
  149. package/dist/categories/manoeuvres/__tests__/oberth-energy-gain.spec.js +0 -71
  150. package/dist/categories/manoeuvres/__tests__/oberth-energy-gain.spec.js.map +0 -1
  151. package/dist/categories/manoeuvres/__tests__/plane-change-delta-v.spec.d.ts +0 -2
  152. package/dist/categories/manoeuvres/__tests__/plane-change-delta-v.spec.d.ts.map +0 -1
  153. package/dist/categories/manoeuvres/__tests__/plane-change-delta-v.spec.js +0 -90
  154. package/dist/categories/manoeuvres/__tests__/plane-change-delta-v.spec.js.map +0 -1
  155. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-isp.spec.d.ts +0 -2
  156. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-isp.spec.d.ts.map +0 -1
  157. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-isp.spec.js +0 -84
  158. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-isp.spec.js.map +0 -1
  159. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-ve.spec.d.ts +0 -2
  160. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-ve.spec.d.ts.map +0 -1
  161. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-ve.spec.js +0 -65
  162. package/dist/categories/manoeuvres/__tests__/rocket-delta-v-from-ve.spec.js.map +0 -1
  163. package/dist/categories/orbits/__tests__/atmospheric-drag-acceleration.spec.d.ts +0 -2
  164. package/dist/categories/orbits/__tests__/atmospheric-drag-acceleration.spec.d.ts.map +0 -1
  165. package/dist/categories/orbits/__tests__/atmospheric-drag-acceleration.spec.js +0 -71
  166. package/dist/categories/orbits/__tests__/atmospheric-drag-acceleration.spec.js.map +0 -1
  167. package/dist/categories/orbits/__tests__/characteristic-energy-c3.spec.d.ts +0 -2
  168. package/dist/categories/orbits/__tests__/characteristic-energy-c3.spec.d.ts.map +0 -1
  169. package/dist/categories/orbits/__tests__/characteristic-energy-c3.spec.js +0 -36
  170. package/dist/categories/orbits/__tests__/characteristic-energy-c3.spec.js.map +0 -1
  171. package/dist/categories/orbits/__tests__/circular-speed.spec.d.ts +0 -2
  172. package/dist/categories/orbits/__tests__/circular-speed.spec.d.ts.map +0 -1
  173. package/dist/categories/orbits/__tests__/circular-speed.spec.js +0 -69
  174. package/dist/categories/orbits/__tests__/circular-speed.spec.js.map +0 -1
  175. package/dist/categories/orbits/__tests__/cw-hill-derivatives.spec.d.ts +0 -2
  176. package/dist/categories/orbits/__tests__/cw-hill-derivatives.spec.d.ts.map +0 -1
  177. package/dist/categories/orbits/__tests__/cw-hill-derivatives.spec.js +0 -64
  178. package/dist/categories/orbits/__tests__/cw-hill-derivatives.spec.js.map +0 -1
  179. package/dist/categories/orbits/__tests__/escape-speed.spec.d.ts +0 -2
  180. package/dist/categories/orbits/__tests__/escape-speed.spec.d.ts.map +0 -1
  181. package/dist/categories/orbits/__tests__/escape-speed.spec.js +0 -79
  182. package/dist/categories/orbits/__tests__/escape-speed.spec.js.map +0 -1
  183. package/dist/categories/orbits/__tests__/flight-path-angle-from-true-anomaly.spec.d.ts +0 -2
  184. package/dist/categories/orbits/__tests__/flight-path-angle-from-true-anomaly.spec.d.ts.map +0 -1
  185. package/dist/categories/orbits/__tests__/flight-path-angle-from-true-anomaly.spec.js +0 -92
  186. package/dist/categories/orbits/__tests__/flight-path-angle-from-true-anomaly.spec.js.map +0 -1
  187. package/dist/categories/orbits/__tests__/hyperbolic-periapsis-speed.spec.d.ts +0 -2
  188. package/dist/categories/orbits/__tests__/hyperbolic-periapsis-speed.spec.d.ts.map +0 -1
  189. package/dist/categories/orbits/__tests__/hyperbolic-periapsis-speed.spec.js +0 -64
  190. package/dist/categories/orbits/__tests__/hyperbolic-periapsis-speed.spec.js.map +0 -1
  191. package/dist/categories/orbits/__tests__/j2-argument-of-perigee-rate.spec.d.ts +0 -2
  192. package/dist/categories/orbits/__tests__/j2-argument-of-perigee-rate.spec.d.ts.map +0 -1
  193. package/dist/categories/orbits/__tests__/j2-argument-of-perigee-rate.spec.js +0 -104
  194. package/dist/categories/orbits/__tests__/j2-argument-of-perigee-rate.spec.js.map +0 -1
  195. package/dist/categories/orbits/__tests__/j2-nodal-precession-rate.spec.d.ts +0 -2
  196. package/dist/categories/orbits/__tests__/j2-nodal-precession-rate.spec.d.ts.map +0 -1
  197. package/dist/categories/orbits/__tests__/j2-nodal-precession-rate.spec.js +0 -99
  198. package/dist/categories/orbits/__tests__/j2-nodal-precession-rate.spec.js.map +0 -1
  199. package/dist/categories/orbits/__tests__/kepler-period.spec.d.ts +0 -2
  200. package/dist/categories/orbits/__tests__/kepler-period.spec.d.ts.map +0 -1
  201. package/dist/categories/orbits/__tests__/kepler-period.spec.js +0 -72
  202. package/dist/categories/orbits/__tests__/kepler-period.spec.js.map +0 -1
  203. package/dist/categories/orbits/__tests__/mean-motion.spec.d.ts +0 -2
  204. package/dist/categories/orbits/__tests__/mean-motion.spec.d.ts.map +0 -1
  205. package/dist/categories/orbits/__tests__/mean-motion.spec.js +0 -48
  206. package/dist/categories/orbits/__tests__/mean-motion.spec.js.map +0 -1
  207. package/dist/categories/orbits/__tests__/peri-apoapsis-radii.spec.d.ts +0 -2
  208. package/dist/categories/orbits/__tests__/peri-apoapsis-radii.spec.d.ts.map +0 -1
  209. package/dist/categories/orbits/__tests__/peri-apoapsis-radii.spec.js +0 -74
  210. package/dist/categories/orbits/__tests__/peri-apoapsis-radii.spec.js.map +0 -1
  211. package/dist/categories/orbits/__tests__/specific-angular-momentum-from-elements.spec.d.ts +0 -2
  212. package/dist/categories/orbits/__tests__/specific-angular-momentum-from-elements.spec.d.ts.map +0 -1
  213. package/dist/categories/orbits/__tests__/specific-angular-momentum-from-elements.spec.js +0 -86
  214. package/dist/categories/orbits/__tests__/specific-angular-momentum-from-elements.spec.js.map +0 -1
  215. package/dist/categories/orbits/__tests__/specific-angular-momentum.spec.d.ts +0 -2
  216. package/dist/categories/orbits/__tests__/specific-angular-momentum.spec.d.ts.map +0 -1
  217. package/dist/categories/orbits/__tests__/specific-angular-momentum.spec.js +0 -85
  218. package/dist/categories/orbits/__tests__/specific-angular-momentum.spec.js.map +0 -1
  219. package/dist/categories/orbits/__tests__/specific-mechanical-energy.spec.d.ts +0 -2
  220. package/dist/categories/orbits/__tests__/specific-mechanical-energy.spec.d.ts.map +0 -1
  221. package/dist/categories/orbits/__tests__/specific-mechanical-energy.spec.js +0 -81
  222. package/dist/categories/orbits/__tests__/specific-mechanical-energy.spec.js.map +0 -1
  223. package/dist/categories/orbits/__tests__/sphere-of-influence-radius.spec.d.ts +0 -2
  224. package/dist/categories/orbits/__tests__/sphere-of-influence-radius.spec.d.ts.map +0 -1
  225. package/dist/categories/orbits/__tests__/sphere-of-influence-radius.spec.js +0 -62
  226. package/dist/categories/orbits/__tests__/sphere-of-influence-radius.spec.js.map +0 -1
  227. package/dist/categories/orbits/__tests__/vis-viva-speed.spec.d.ts +0 -2
  228. package/dist/categories/orbits/__tests__/vis-viva-speed.spec.d.ts.map +0 -1
  229. package/dist/categories/orbits/__tests__/vis-viva-speed.spec.js +0 -80
  230. package/dist/categories/orbits/__tests__/vis-viva-speed.spec.js.map +0 -1
@@ -46,7 +46,7 @@ import type { CelestialBodyType, Radians, TimeStepInterface } from '@interstella
46
46
  *
47
47
  * @example
48
48
  * ```ts
49
- * import { computeAngle } from './compute-angle';
49
+ * import { computeAngle } from '@interstellar-tools/equations';
50
50
  *
51
51
  * const earth: CelestialBodyType = {
52
52
  * name: 'Earth',
@@ -1,6 +1,6 @@
1
- import { eccentricToTrueAnomaly } from '../anomalies/eccentric-to-true-anomaly';
2
- import { meanToEccentricAnomaly } from '../anomalies/mean-to-eccentric-anomaly';
3
- import { solveKepler } from '../kepler/solve-kepler';
1
+ import { eccentricToTrueAnomaly } from '../anomalies/eccentric-to-true-anomaly.js';
2
+ import { meanToEccentricAnomaly } from '../anomalies/mean-to-eccentric-anomaly.js';
3
+ import { solveKepler } from '../kepler/solve-kepler.js';
4
4
  /**
5
5
  * Computes the orbital angle (true anomaly, $ν$) of a celestial body for a given date and time step.
6
6
  *
@@ -48,7 +48,7 @@ import { solveKepler } from '../kepler/solve-kepler';
48
48
  *
49
49
  * @example
50
50
  * ```ts
51
- * import { computeAngle } from './compute-angle';
51
+ * import { computeAngle } from '@interstellar-tools/equations';
52
52
  *
53
53
  * const earth: CelestialBodyType = {
54
54
  * name: 'Earth',
@@ -1 +1 @@
1
- {"version":3,"file":"compute-angle.js","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,IAAuB,EACvB,QAA2B,EAClB,EAAE;IACX,0CAA0C;IAC1C,MAAM,CAAC,GAAY,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC1D,oDAAoD;IACpD,MAAM,CAAC,GAAY,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1C,oDAAoD;IACpD,MAAM,CAAC,GAAY,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAErD,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
1
+ {"version":3,"file":"compute-angle.js","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,IAAuB,EACvB,QAA2B,EAClB,EAAE;IACX,0CAA0C;IAC1C,MAAM,CAAC,GAAY,sBAAsB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC1D,oDAAoD;IACpD,MAAM,CAAC,GAAY,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC1C,oDAAoD;IACpD,MAAM,CAAC,GAAY,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAErD,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
@@ -25,7 +25,7 @@ import type { CelestialBodyType, Radians, TemporalInterface } from '@interstella
25
25
  *
26
26
  * @example
27
27
  * ```ts
28
- * import { meanToEccentricAnomaly } from './mean-to-eccentric-anomaly';
28
+ * import { meanToEccentricAnomaly } from '@interstellar-tools/equations';
29
29
  *
30
30
  * const mars: CelestialBodyType = {
31
31
  * name: 'Mars',
@@ -1,8 +1,8 @@
1
1
  import { TWO_PI } from '@interstellar-tools/constants';
2
2
  import { convertTemporalUnit } from '@interstellar-tools/temporal';
3
- import { wrapAngle } from '../angle/wrap-angle';
4
- import { trueToMeanAnomaly } from './true-to-mean-anomaly';
5
- import { areEqual } from './utils/are-equal';
3
+ import { wrapAngle } from '../angle/wrap-angle.js';
4
+ import { trueToMeanAnomaly } from './true-to-mean-anomaly.js';
5
+ import { areEqual } from './utils/are-equal.js';
6
6
  /* node:coverage disable */
7
7
  /**
8
8
  * Computes the **mean anomaly** ($M$) of a celestial body for a given time step.
@@ -30,7 +30,7 @@ import { areEqual } from './utils/are-equal';
30
30
  *
31
31
  * @example
32
32
  * ```ts
33
- * import { meanToEccentricAnomaly } from './mean-to-eccentric-anomaly';
33
+ * import { meanToEccentricAnomaly } from '@interstellar-tools/equations';
34
34
  *
35
35
  * const mars: CelestialBodyType = {
36
36
  * name: 'Mars',
@@ -1 +1 @@
1
- {"version":3,"file":"mean-to-eccentric-anomaly.js","sourceRoot":"","sources":["../../../src/categories/anomalies/mean-to-eccentric-anomaly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAOnE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,2BAA2B;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,0BAA0B;AAC1B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,IAAuB,EACvB,QAA2B,EAClB,EAAE;IACX,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAElC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAClB,yBAAyB,CAAC,6CAA6C,CACxE,CAAC;IACJ,CAAC;IAED,iDAAiD;IACjD,MAAM,YAAY,GAAG,mBAAmB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5D,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACnD,6DAA6D;IAC7D,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAEzD,IAAI,QAAQ,CAAC,KAAK,KAAK,CAAC,EAAE,CAAC;QACzB,OA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47,7 +47,7 @@ import type { Radians } from '@interstellar-tools/types';
47
47
  *
48
48
  * @example
49
49
  * ```ts
50
- * import { trueToMeanAnomaly } from './true-anomaly-to-mean-anomaly';
50
+ * import { trueToMeanAnomaly } from '@interstellar-tools/equations';
51
51
  *
52
52
  * // Example 1: Standard elliptical orbit
53
53
  * const V = Math.PI / 3; // 60 degrees in radians
@@ -1,4 +1,4 @@
1
- import { wrapAngle } from '../angle/wrap-angle';
1
+ import { wrapAngle } from '../angle/wrap-angle.js';
2
2
  /**
3
3
  * Converts **true anomaly** ($\nu$) to **mean anomaly** ($M$) using Kepler's equation.
4
4
  *
@@ -47,7 +47,7 @@ import { wrapAngle } from '../angle/wrap-angle';
47
47
  *
48
48
  * @example
49
49
  * ```ts
50
- * import { trueToMeanAnomaly } from './true-anomaly-to-mean-anomaly';
50
+ * import { trueToMeanAnomaly } from '@interstellar-tools/equations';
51
51
  *
52
52
  * // Example 1: Standard elliptical orbit
53
53
  * const V = Math.PI / 3; // 60 degrees in radians
@@ -1 +1 @@
1
- {"version":3,"file":"true-to-mean-anomaly.js","sourceRoot":"","sources":["../../../src/categories/anomalies/true-to-mean-anomaly.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAU,EAAE,CAAS,EAAW,EAAE;IAClE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAClB,wEAAwE,CACzE,CAAC;IACJ,CAAC;IAED,8EAA8E;IAC9E,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,C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AC,CAAC,CAAC,CAAC;IAE5C,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IAE7C,yDAAyD;IACzD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAChC,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;IACvC,CAAC;IAED,oDAAoD;IACpD,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAE9B,0CAA0C;IAC1C,OAAO,SAAS,CAAC,CAAC,CAAY,CAAC;AACjC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { matMul3 } from '../helpers/mat-mul3';
2
- import { rot1 } from '../helpers/rot-1';
3
- import { rot3 } from '../helpers/rot-3';
1
+ import { matMul3 } from '../helpers/mat-mul3.js';
2
+ import { rot1 } from '../helpers/rot-1.js';
3
+ import { rot3 } from '../helpers/rot-3.js';
4
4
  /**
5
5
  * Build the **IAU-style inertial → body-fixed** direction cosine matrix (DCM).
6
6
  *
@@ -1 +1 @@
1
- {"version":3,"file":"body-fixed-from-inertial-dcm-iau.js","sourceRoot":"","sources":["../../../src/categories/cartography/body-fixed-from-inertial-dcm-iau.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,MAAe,EACf,MAAe,EACf,CAAU,EACK,EAAE;IACjB,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI;QACtB,CAAC,QAAQ,EAAE,MAAM,CAAC;QAClB,CAAC,QAAQ,EAAE,MAAM,CAAC;QAClB,CAAC,GAAG,EAAE,CAAC,CAAC;KACA,EAAE,CAAC;QACX,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,8BAA8B,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAY,CAAC;IAExC,sCAAsC;IACtC,OAAO,OAAO,CACZ,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM,CAAY,CAAC,CAAC,EACpD,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM,CAAY,CAAC,CACnC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"body-fixed-from-inertial-dcm-iau.js","sourceRoot":"","sources":["../../../src/categories/cartography/body-fixed-from-inertial-dcm-iau.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,MAAe,EACf,MAAe,EACf,CAAU,EACK,EAAE;IACjB,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI;QACtB,CAAC,QAAQ,EAAE,MAAM,CAAC;QAClB,CAAC,QAAQ,EAAE,MAAM,CAAC;QAClB,CAAC,GAAG,EAAE,CAAC,CAAC;KACA,EAAE,CAAC;QACX,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;YACrB,MAAM,IAAI,SAAS,CAAC,GAAG,IAAI,8BAA8B,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAY,CAAC;IAExC,sCAAsC;IACtC,OAAO,OAAO,CACZ,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM,CAAY,CAAC,CAAC,EACpD,IAAI,CAAC,CAAC,MAAM,GAAG,MAAM,CAAY,CAAC,CACnC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { G_SI } from '@interstellar-tools/constants';
2
- import { gravitationalForce } from './gravitational-force';
2
+ import { gravitationalForce } from './gravitational-force.js';
3
3
  /**
4
4
  * Gravitational **acceleration** of body 1 due to body 2 (vector, m/s²).
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"acceleration-on1-by2.js","sourceRoot":"","sources":["../../../src/categories/gravity/acceleration-on1-by2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,EAAU,EACV,EAAqB,EACrB,EAAqB,EACrB,IAAY,IAAI,EACG,EAAE;IACrB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,kBAAkB,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,qBAAqB;IAC5F,MAAM,CAAC,GAAsB;QAC3B,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;QACxB,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;QACxB,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;KACzB,CAAC;IAEF,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
1
+ {"version":3,"file":"acceleration-on1-by2.js","sourceRoot":"","sources":["../../../src/categories/gravity/acceleration-on1-by2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,EAAU,EACV,EAAqB,EACrB,EAAqB,EACrB,IAAY,IAAI,EACG,EAAE;IACrB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,kBAAkB,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,qBAAqB;IAC5F,MAAM,CAAC,GAAsB;QAC3B,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;QACxB,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;QACxB,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;KACzB,CAAC;IAEF,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { G_SI } from '@interstellar-tools/constants';
2
- import { gravitationalForce } from './gravitational-force';
2
+ import { gravitationalForce } from './gravitational-force.js';
3
3
  /**
4
4
  * Gravitational **force vector** on body 1 due to body 2 (newtons, N).
5
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"force-on1-by2.js","sourceRoot":"","sources":["../../../src/categories/gravity/force-on1-by2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D;;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AS;QACxB,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;KACzB,CAAC;IAEF,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
@@ -68,7 +68,7 @@ import type { Radians } from '@interstellar-tools/types';
68
68
  *
69
69
  * @example
70
70
  * ```ts
71
- * import { solveKeplerHighEccentricity } from './solve-kepler';
71
+ * import { solveKeplerHighEccentricity } from '@interstellar-tools/equations';
72
72
  *
73
73
  * const M = Math.PI / 4; // 45 degrees in radians
74
74
  * const e = 0.95; // High orbital eccentricity
@@ -1,4 +1,4 @@
1
- import { wrapAngle } from '../angle/wrap-angle';
1
+ import { wrapAngle } from '../angle/wrap-angle.js';
2
2
  /* node:coverage disable */
3
3
  /**
4
4
  * Solves **Kepler's Equation** for the **Eccentric Anomaly** ($E$) in highly eccentric orbits
@@ -69,7 +69,7 @@ import { wrapAngle } from '../angle/wrap-angle';
69
69
  *
70
70
  * @example
71
71
  * ```ts
72
- * import { solveKeplerHighEccentricity } from './solve-kepler';
72
+ * import { solveKeplerHighEccentricity } from '@interstellar-tools/equations';
73
73
  *
74
74
  * const M = Math.PI / 4; // 45 degrees in radians
75
75
  * const e = 0.95; // High orbital eccentricity
@@ -1 +1 @@
1
- {"version":3,"file":"solve-kepler-high-eccentricity.js","sourceRoot":"","sources":["../../../src/categories/kepler/solve-kepler-high-eccentricity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,2BAA2B;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,0BAA0B;AAC1B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,CAAU,EACV,CAAS,EACT,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAA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CAAC,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC;YACtB,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACvB,MAAM;QACR,CAAC;IACH,CAAC;IAED,6DAA6D;IAC7D,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACV,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,UAAqB,CAAC;AAC/B,CAAC,CAAC"}
@@ -54,7 +54,7 @@ import type { Radians } from '@interstellar-tools/types';
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * import { solveKepler } from './solve-kepler';
57
+ * import { solveKepler } from '@interstellar-tools/equations';
58
58
  *
59
59
  * // Example 1: Moderate eccentricity
60
60
  * const M = Math.PI / 4; // 45 degrees in radians
@@ -1,7 +1,7 @@
1
- import { wrapAngle } from '../angle/wrap-angle';
2
- import { solveKeplerBisection } from './solve-kepler-bisection';
3
- import { solveKeplerHighEccentricity } from './solve-kepler-high-eccentricity';
4
- import { solveKeplerNewtonRaphson } from './solve-kepler-newton-raphson';
1
+ import { wrapAngle } from '../angle/wrap-angle.js';
2
+ import { solveKeplerBisection } from './solve-kepler-bisection.js';
3
+ import { solveKeplerHighEccentricity } from './solve-kepler-high-eccentricity.js';
4
+ import { solveKeplerNewtonRaphson } from './solve-kepler-newton-raphson.js';
5
5
  /**
6
6
  * Solves **Kepler's Equation** for the **Eccentric Anomaly** ($E$) using an adaptive approach:
7
7
  *
@@ -57,7 +57,7 @@ import { solveKeplerNewtonRaphson } from './solve-kepler-newton-raphson';
57
57
  *
58
58
  * @example
59
59
  * ```ts
60
- * import { solveKepler } from './solve-kepler';
60
+ * import { solveKepler } from '@interstellar-tools/equations';
61
61
  *
62
62
  * // Example 1: Moderate eccentricity
63
63
  * const M = Math.PI / 4; // 45 degrees in radians
@@ -1 +1 @@
1
- {"version":3,"file":"solve-kepler.js","sourceRoot":"","sources":["../../../src/categories/kepler/solve-kepler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,CAAU,EACV,CAAS,EACT,OAAO,GAAG,EAAE,EACZ,SAAS,GAAG,IAAI,EACP,EAAE;IACX,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAAC,yBAAyB,CAAC,2BAA2B,CAAC,CAAC;IAC9E,CAAC;IAED,wDAAwD;IACxD,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC;QACZ,OAAO,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAC/D,CAAC;IAED,+DAA+D;IAC/D,IAAI,CAAC,GAAG,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAE3D,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACb,CAAC,GAAG,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,SAAS,CAAC,CAAC,CAAY,CAAC;AACjC,CAAC,CAAC"}
1
+ {"version":3,"file":"solve-kepler.js","sourceRoot":"","sources":["../../../src/categories/kepler/solve-kepler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,CAAU,EACV,CAAS,EACT,OAAO,GAAG,EAAE,EACZ,SAAS,GAAG,IAAI,EACP,EAAE;IACX,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAAC,yBAAyB,CAAC,2BAA2B,CAAC,CAAC;IAC9E,CAAC;IAED,wDAAwD;IACxD,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC;QACZ,OAAO,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAC/D,CAAC;IAED,+DAA+D;IAC/D,IAAI,CAAC,GAAG,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IAE3D,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACb,CAAC,GAAG,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,SAAS,CAAC,CAAC,CAAY,CAAC;AACjC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -3,53 +3,53 @@
3
3
  * Here you will find a set of function that can assist you when calculating orbits, angles, solve for kelper or find true anomalies.
4
4
  * @module
5
5
  */
6
- export * from './categories/angle/compute-angle';
7
- export * from './categories/angle/wrap-angle';
8
- export * from './categories/cartography/body-fixed-from-inertial-dcm-iau';
9
- export * from './categories/cartography/eccentricity-squared-oblate-spheroid';
10
- export * from './categories/cartography/flattening-oblate-spheroid';
11
- export * from './categories/cartography/is-on-triaxial-ellipsoid-surface';
12
- export * from './categories/cartography/planetocentric-latitude';
13
- export * from './categories/cartography/planetographic-latitude-oblate';
14
- export * from './categories/helpers/apply-matrix-3';
15
- export * from './categories/helpers/det-3';
16
- export * from './categories/helpers/mat-mul3';
17
- export * from './categories/helpers/misc';
18
- export * from './categories/helpers/radians';
19
- export * from './categories/helpers/rot-1';
20
- export * from './categories/helpers/rot-3';
21
- export * from './categories/helpers/transpose-3';
22
- export * from './categories/anomalies/eccentric-to-true-anomaly';
23
- export * from './categories/anomalies/mean-to-eccentric-anomaly';
24
- export * from './categories/anomalies/true-to-mean-anomaly';
25
- export * from './categories/kepler/solve-kepler-bisection';
26
- export * from './categories/kepler/solve-kepler-high-eccentricity';
27
- export * from './categories/kepler/solve-kepler-newton-raphson';
28
- export * from './categories/kepler/solve-kepler';
29
- export * from './categories/gravity/acceleration-on1-by2';
30
- export * from './categories/gravity/force-on1-by2';
31
- export * from './categories/gravity/gravitational-force';
32
- export * from './categories/gravity/gravitational-parameter';
33
- export * from './categories/orbits/atmospheric-drag-acceleration';
34
- export * from './categories/orbits/characteristic-energy-c3';
35
- export * from './categories/orbits/circular-speed';
36
- export * from './categories/orbits/cw-hill-derivatives';
37
- export * from './categories/orbits/escape-speed';
38
- export * from './categories/orbits/flight-path-angle-from-true-anomaly';
39
- export * from './categories/orbits/hyperbolic-periapsis-speed';
40
- export * from './categories/orbits/j2-nodal-precession-rate';
41
- export * from './categories/orbits/kepler-period';
42
- export * from './categories/orbits/mean-motion';
43
- export * from './categories/orbits/specific-angular-momentum-from-elements';
44
- export * from './categories/orbits/specific-angular-momentum';
45
- export * from './categories/orbits/specific-mechanical-energy';
46
- export * from './categories/orbits/sphere-of-influence-radius';
47
- export * from './categories/orbits/vis-viva-speed';
48
- export * from './categories/manoeuvres/combine-burns-delta-v';
49
- export * from './categories/manoeuvres/gravity-assist-turning-angle';
50
- export * from './categories/manoeuvres/hohmann-transfer';
51
- export * from './categories/manoeuvres/oberth-energy-gain';
52
- export * from './categories/manoeuvres/plane-change-delta-v';
53
- export * from './categories/manoeuvres/rocket-delta-v-from-isp';
54
- export * from './categories/manoeuvres/rocket-delta-v-from-ve';
6
+ export * from './categories/angle/compute-angle.js';
7
+ export * from './categories/angle/wrap-angle.js';
8
+ export * from './categories/cartography/body-fixed-from-inertial-dcm-iau.js';
9
+ export * from './categories/cartography/eccentricity-squared-oblate-spheroid.js';
10
+ export * from './categories/cartography/flattening-oblate-spheroid.js';
11
+ export * from './categories/cartography/is-on-triaxial-ellipsoid-surface.js';
12
+ export * from './categories/cartography/planetocentric-latitude.js';
13
+ export * from './categories/cartography/planetographic-latitude-oblate.js';
14
+ export * from './categories/helpers/apply-matrix-3.js';
15
+ export * from './categories/helpers/det-3.js';
16
+ export * from './categories/helpers/mat-mul3.js';
17
+ export * from './categories/helpers/misc.js';
18
+ export * from './categories/helpers/radians.js';
19
+ export * from './categories/helpers/rot-1.js';
20
+ export * from './categories/helpers/rot-3.js';
21
+ export * from './categories/helpers/transpose-3.js';
22
+ export * from './categories/anomalies/eccentric-to-true-anomaly.js';
23
+ export * from './categories/anomalies/mean-to-eccentric-anomaly.js';
24
+ export * from './categories/anomalies/true-to-mean-anomaly.js';
25
+ export * from './categories/kepler/solve-kepler-bisection.js';
26
+ export * from './categories/kepler/solve-kepler-high-eccentricity.js';
27
+ export * from './categories/kepler/solve-kepler-newton-raphson.js';
28
+ export * from './categories/kepler/solve-kepler.js';
29
+ export * from './categories/gravity/acceleration-on1-by2.js';
30
+ export * from './categories/gravity/force-on1-by2.js';
31
+ export * from './categories/gravity/gravitational-force.js';
32
+ export * from './categories/gravity/gravitational-parameter.js';
33
+ export * from './categories/orbits/atmospheric-drag-acceleration.js';
34
+ export * from './categories/orbits/characteristic-energy-c3.js';
35
+ export * from './categories/orbits/circular-speed.js';
36
+ export * from './categories/orbits/cw-hill-derivatives.js';
37
+ export * from './categories/orbits/escape-speed.js';
38
+ export * from './categories/orbits/flight-path-angle-from-true-anomaly.js';
39
+ export * from './categories/orbits/hyperbolic-periapsis-speed.js';
40
+ export * from './categories/orbits/j2-nodal-precession-rate.js';
41
+ export * from './categories/orbits/kepler-period.js';
42
+ export * from './categories/orbits/mean-motion.js';
43
+ export * from './categories/orbits/specific-angular-momentum-from-elements.js';
44
+ export * from './categories/orbits/specific-angular-momentum.js';
45
+ export * from './categories/orbits/specific-mechanical-energy.js';
46
+ export * from './categories/orbits/sphere-of-influence-radius.js';
47
+ export * from './categories/orbits/vis-viva-speed.js';
48
+ export * from './categories/manoeuvres/combine-burns-delta-v.js';
49
+ export * from './categories/manoeuvres/gravity-assist-turning-angle.js';
50
+ export * from './categories/manoeuvres/hohmann-transfer.js';
51
+ export * from './categories/manoeuvres/oberth-energy-gain.js';
52
+ export * from './categories/manoeuvres/plane-change-delta-v.js';
53
+ export * from './categories/manoeuvres/rocket-delta-v-from-isp.js';
54
+ export * from './categories/manoeuvres/rocket-delta-v-from-ve.js';
55
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,kCAAkC,CAAC;AAEjD,cAAc,+BAA+B,CAAC;AAI9C,cAAc,2DAA2D,CAAC;AAE1E,cAAc,+DAA+D,CAAC;AAE9E,cAAc,qDAAqD,CAAC;AAEpE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,kDAAkD,CAAC;AAEjE,cAAc,yDAAyD,CAAC;AAIxE,cAAc,qCAAqC,CAAC;AAEpD,cAAc,4BAA4B,CAAC;AAE3C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,2BAA2B,CAAC;AAE1C,cAAc,8BAA8B,CAAC;AAE7C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,kCAAkC,CAAC;AAIjD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,kDAAkD,CAAC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CAAC;AAEjD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,qCAAqC,CAAC;AAIpD,cAAc,qDAAqD,CAAC;AAEpE,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gDAAgD,CAAC;AAI/D,cAAc,+CAA+C,CAAC;AAE9D,cAAc,uDAAuD,CAAC;AAEtE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,qCAAqC,CAAC;AAIpD,cAAc,8CAA8C,CAAC;AAE7D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,6CAA6C,CAAC;AAE5D,cAAc,iDAAiD,CAAC;AAIhE,cAAc,sDAAsD,CAAC;AAErE,cAAc,iDAAiD,CAAC;AAEhE,cAAc,uCAAuC,CAAC;AAEtD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,qCAAqC,CAAC;AAEpD,cAAc,4DAA4D,CAAC;AAE3E,cAAc,mDAAmD,CAAC;AAElE,cAAc,iDAAiD,CAAC;AAEhE,cAAc,sCAAsC,CAAC;AAErD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,gEAAgE,CAAC;AAE/E,cAAc,kDAAkD,CAAC;AAEjE,cAAc,mDAAmD,CAAC;AAElE,cAAc,mDAAmD,CAAC;AAElE,cAAc,uCAAuC,CAAC;AAItD,cAAc,kDAAkD,CAAC;AAEjE,cAAc,yDAAyD,CAAC;AAExE,cAAc,6CAA6C,CAAC;AAE5D,cAAc,+CAA+C,CAAC;AAE9D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,mDAAmD,CAAC"}
package/dist/index.js CHANGED
@@ -4,60 +4,60 @@
4
4
  * @module
5
5
  */
6
6
  // categories/angle
7
- export * from './categories/angle/compute-angle';
8
- export * from './categories/angle/wrap-angle';
7
+ export * from './categories/angle/compute-angle.js';
8
+ export * from './categories/angle/wrap-angle.js';
9
9
  // categories/cartography
10
- export * from './categories/cartography/body-fixed-from-inertial-dcm-iau';
11
- export * from './categories/cartography/eccentricity-squared-oblate-spheroid';
12
- export * from './categories/cartography/flattening-oblate-spheroid';
13
- export * from './categories/cartography/is-on-triaxial-ellipsoid-surface';
14
- export * from './categories/cartography/planetocentric-latitude';
15
- export * from './categories/cartography/planetographic-latitude-oblate';
10
+ export * from './categories/cartography/body-fixed-from-inertial-dcm-iau.js';
11
+ export * from './categories/cartography/eccentricity-squared-oblate-spheroid.js';
12
+ export * from './categories/cartography/flattening-oblate-spheroid.js';
13
+ export * from './categories/cartography/is-on-triaxial-ellipsoid-surface.js';
14
+ export * from './categories/cartography/planetocentric-latitude.js';
15
+ export * from './categories/cartography/planetographic-latitude-oblate.js';
16
16
  // categories/helpers
17
- export * from './categories/helpers/apply-matrix-3';
18
- export * from './categories/helpers/det-3';
19
- export * from './categories/helpers/mat-mul3';
20
- export * from './categories/helpers/misc';
21
- export * from './categories/helpers/radians';
22
- export * from './categories/helpers/rot-1';
23
- export * from './categories/helpers/rot-3';
24
- export * from './categories/helpers/transpose-3';
17
+ export * from './categories/helpers/apply-matrix-3.js';
18
+ export * from './categories/helpers/det-3.js';
19
+ export * from './categories/helpers/mat-mul3.js';
20
+ export * from './categories/helpers/misc.js';
21
+ export * from './categories/helpers/radians.js';
22
+ export * from './categories/helpers/rot-1.js';
23
+ export * from './categories/helpers/rot-3.js';
24
+ export * from './categories/helpers/transpose-3.js';
25
25
  // categories/anomalies
26
- export * from './categories/anomalies/eccentric-to-true-anomaly';
27
- export * from './categories/anomalies/mean-to-eccentric-anomaly';
28
- export * from './categories/anomalies/true-to-mean-anomaly';
26
+ export * from './categories/anomalies/eccentric-to-true-anomaly.js';
27
+ export * from './categories/anomalies/mean-to-eccentric-anomaly.js';
28
+ export * from './categories/anomalies/true-to-mean-anomaly.js';
29
29
  // categories/kepler (solvers)
30
- export * from './categories/kepler/solve-kepler-bisection';
31
- export * from './categories/kepler/solve-kepler-high-eccentricity';
32
- export * from './categories/kepler/solve-kepler-newton-raphson';
33
- export * from './categories/kepler/solve-kepler';
30
+ export * from './categories/kepler/solve-kepler-bisection.js';
31
+ export * from './categories/kepler/solve-kepler-high-eccentricity.js';
32
+ export * from './categories/kepler/solve-kepler-newton-raphson.js';
33
+ export * from './categories/kepler/solve-kepler.js';
34
34
  // categories/gravity
35
- export * from './categories/gravity/acceleration-on1-by2';
36
- export * from './categories/gravity/force-on1-by2';
37
- export * from './categories/gravity/gravitational-force';
38
- export * from './categories/gravity/gravitational-parameter';
35
+ export * from './categories/gravity/acceleration-on1-by2.js';
36
+ export * from './categories/gravity/force-on1-by2.js';
37
+ export * from './categories/gravity/gravitational-force.js';
38
+ export * from './categories/gravity/gravitational-parameter.js';
39
39
  // categories/orbits
40
- export * from './categories/orbits/atmospheric-drag-acceleration';
41
- export * from './categories/orbits/characteristic-energy-c3';
42
- export * from './categories/orbits/circular-speed';
43
- export * from './categories/orbits/cw-hill-derivatives';
44
- export * from './categories/orbits/escape-speed';
45
- export * from './categories/orbits/flight-path-angle-from-true-anomaly';
46
- export * from './categories/orbits/hyperbolic-periapsis-speed';
47
- export * from './categories/orbits/j2-nodal-precession-rate';
48
- export * from './categories/orbits/kepler-period';
49
- export * from './categories/orbits/mean-motion';
50
- export * from './categories/orbits/specific-angular-momentum-from-elements';
51
- export * from './categories/orbits/specific-angular-momentum';
52
- export * from './categories/orbits/specific-mechanical-energy';
53
- export * from './categories/orbits/sphere-of-influence-radius';
54
- export * from './categories/orbits/vis-viva-speed';
40
+ export * from './categories/orbits/atmospheric-drag-acceleration.js';
41
+ export * from './categories/orbits/characteristic-energy-c3.js';
42
+ export * from './categories/orbits/circular-speed.js';
43
+ export * from './categories/orbits/cw-hill-derivatives.js';
44
+ export * from './categories/orbits/escape-speed.js';
45
+ export * from './categories/orbits/flight-path-angle-from-true-anomaly.js';
46
+ export * from './categories/orbits/hyperbolic-periapsis-speed.js';
47
+ export * from './categories/orbits/j2-nodal-precession-rate.js';
48
+ export * from './categories/orbits/kepler-period.js';
49
+ export * from './categories/orbits/mean-motion.js';
50
+ export * from './categories/orbits/specific-angular-momentum-from-elements.js';
51
+ export * from './categories/orbits/specific-angular-momentum.js';
52
+ export * from './categories/orbits/specific-mechanical-energy.js';
53
+ export * from './categories/orbits/sphere-of-influence-radius.js';
54
+ export * from './categories/orbits/vis-viva-speed.js';
55
55
  // categories/manoeuvres
56
- export * from './categories/manoeuvres/combine-burns-delta-v';
57
- export * from './categories/manoeuvres/gravity-assist-turning-angle';
58
- export * from './categories/manoeuvres/hohmann-transfer';
59
- export * from './categories/manoeuvres/oberth-energy-gain';
60
- export * from './categories/manoeuvres/plane-change-delta-v';
61
- export * from './categories/manoeuvres/rocket-delta-v-from-isp';
62
- export * from './categories/manoeuvres/rocket-delta-v-from-ve';
56
+ export * from './categories/manoeuvres/combine-burns-delta-v.js';
57
+ export * from './categories/manoeuvres/gravity-assist-turning-angle.js';
58
+ export * from './categories/manoeuvres/hohmann-transfer.js';
59
+ export * from './categories/manoeuvres/oberth-energy-gain.js';
60
+ export * from './categories/manoeuvres/plane-change-delta-v.js';
61
+ export * from './categories/manoeuvres/rocket-delta-v-from-isp.js';
62
+ export * from './categories/manoeuvres/rocket-delta-v-from-ve.js';
63
63
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,mBAAmB;AACnB,cAAc,kCAAkC,CAAC;AAEjD,cAAc,+BAA+B,CAAC;AAE9C,yBAAyB;AAEzB,cAAc,2DAA2D,CAAC;AAE1E,cAAc,+DAA+D,CAAC;AAE9E,cAAc,qDAAqD,CAAC;AAEpE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,kDAAkD,CAAC;AAEjE,cAAc,yDAAyD,CAAC;AAExE,qBAAqB;AAErB,cAAc,qCAAqC,CAAC;AAEpD,cAAc,4BAA4B,CAAC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AAElE,cAAc,uCAAuC,CAAC;AAEtD,wBAAwB;AAExB,cAAc,kDAAkD,CAAC;AAEjE,cAAc,yDAAyD,CAAC;AAExE,cAAc,6CAA6C,CAAC;AAE5D,cAAc,+CAA+C,CAAC;AAE9D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,mDAAmD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interstellar-tools/equations",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "Curated, well-tested orbital mechanics and dynamics formulas (e.g., Newtonian gravity, vis-viva, Kepler's 3rd law, escape/circular speeds, specific energy, specific angular momentum, peri/apoapsis radii).",
5
5
  "keywords": [
6
6
  "interstellar",
@@ -109,9 +109,9 @@
109
109
  "test:ci": "glob-bin -c \"node --import tsx --test --no-warnings --experimental-test-coverage --test-coverage-exclude='**/__tests__/helpers/**' --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"**/__tests__/**/*.spec.ts\""
110
110
  },
111
111
  "dependencies": {
112
- "@interstellar-tools/constants": "^0.5.0",
113
- "@interstellar-tools/temporal": "^0.5.0",
114
- "@interstellar-tools/types": "^0.5.0"
112
+ "@interstellar-tools/constants": "^0.50.0",
113
+ "@interstellar-tools/temporal": "^0.50.0",
114
+ "@interstellar-tools/types": "^0.50.0"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@types/node": "^25.9.0",
@@ -1,9 +0,0 @@
1
- import type { Matrix3x3Type, Vector3DTupleType } from '@interstellar-tools/types';
2
- export declare const relClose: (a: number | null, b: number, eps?: number, msg?: string) => void;
3
- export declare const vecRelClose: (a: Vector3DTupleType, b: Vector3DTupleType, eps?: number, msg?: string) => void;
4
- export declare const absClose: (a: number, b: number, eps?: number, msg?: string) => void;
5
- export declare const angleClose: (a: number, b: number, eps?: number) => void;
6
- export declare const relCloseTuple: (a: readonly number[], b: readonly number[], eps?: number) => void;
7
- export declare const matAbsClose: (A: Matrix3x3Type, B: Matrix3x3Type, eps?: number) => void;
8
- export declare const matRelClose: (A: Matrix3x3Type, B: Matrix3x3Type, eps?: number) => void;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__tests__/helpers/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAInC,eAAO,MAAM,QAAQ,GACnB,GAAG,MAAM,GAAG,IAAI,EAChB,GAAG,MAAM,EACT,YAAW,EACX,MAAM,MAAM,SAUb,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,GAAG,iBAAiB,EACpB,GAAG,iBAAiB,EACpB,YAAW,EACX,MAAM,MAAM,SAOb,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,YAAW,EAAE,MAAM,MAAM,SAEvE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,YAAW,SAI3D,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,GAAG,SAAS,MAAM,EAAE,EACpB,GAAG,SAAS,MAAM,EAAE,EACpB,YAAW,SAIZ,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,GAAG,aAAa,EAChB,GAAG,aAAa,EAChB,YAAW,SAOZ,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,GAAG,aAAa,EAChB,GAAG,aAAa,EAChB,YAAW,SAOZ,CAAC"}
@@ -1,45 +0,0 @@
1
- import { TWO_PI } from '@interstellar-tools/constants';
2
- import assert from 'node:assert/strict';
3
- import { norm2pi } from '../../categories/helpers/misc';
4
- export const relClose = (a, b, eps = 1e-12, msg) => {
5
- if (a === null) {
6
- assert.fail();
7
- }
8
- const scale = Math.max(1, Math.abs(a), Math.abs(b));
9
- assert.ok(Math.abs(a - b) <= eps * scale, msg ?? `|${a} - ${b}| > ${eps} * ${scale}`);
10
- };
11
- export const vecRelClose = (a, b, eps = 1e-12, msg) => {
12
- assert.equal(a.length, 3);
13
- assert.equal(b.length, 3);
14
- for (let i = 0; i < 3; i++) {
15
- relClose(a[i], b[i], eps, msg);
16
- }
17
- };
18
- export const absClose = (a, b, eps = 1e-12, msg) => {
19
- assert.ok(Math.abs(a - b) <= eps, msg ?? `|${a} - ${b}| > ${eps}`);
20
- };
21
- export const angleClose = (a, b, eps = 1e-12) => {
22
- const da = Math.abs(norm2pi(a) - norm2pi(b));
23
- const d = Math.min(da, TWO_PI - da);
24
- assert.ok(d <= eps, `angles not close: |Δ|=${d} > ${eps}`);
25
- };
26
- export const relCloseTuple = (a, b, eps = 1e-12) => {
27
- assert.equal(a.length, b.length);
28
- for (let i = 0; i < a.length; i++)
29
- relClose(a[i], b[i], eps);
30
- };
31
- export const matAbsClose = (A, B, eps = 1e-12) => {
32
- for (let r = 0; r < 3; r++) {
33
- for (let c = 0; c < 3; c++) {
34
- absClose(A[r][c], B[r][c], eps, `mismatch at [${r}][${c}]`);
35
- }
36
- }
37
- };
38
- export const matRelClose = (A, B, eps = 1e-12) => {
39
- for (let r = 0; r < 3; r++) {
40
- for (let c = 0; c < 3; c++) {
41
- relClose(A[r][c], B[r][c], eps, `mismatch at [${r}][${c}]`);
42
- }
43
- }
44
- };
45
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__tests__/helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAKvD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,CAAgB,EAChB,CAAS,EACT,GAAG,GAAG,KAAK,EACX,GAAY,EACZ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AAC,GAAG,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,CAAgB,EAChB,CAAgB,EAChB,GAAG,GAAG,KAAK,EACX,EAAE;IACF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3B,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=compute-angle.int.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compute-angle.int.spec.d.ts","sourceRoot":"","sources":["../../../../src/categories/angle/__tests__/compute-angle.int.spec.ts"],"names":[],"mappings":""}