astrodynx.twobody.prpr0#
- astrodynx.twobody.prpr0(r_vec, v_vec, r0_vec, v0_vec, F, C, mu=1)[source]#
The State Transition Matrix for position with respect to initial position.
- Parameters:
r_vec (
ArrayLike) – (3,) The position vector at the current time.v_vec (
ArrayLike) – (3,) The velocity vector at the current time.r0_vec (
ArrayLike) – (3,) The position vector at the initial time.v0_vec (
ArrayLike) – (3,) The velocity vector at the initial time.F (
DTypeLike) – The Lagrange F function.C (
DTypeLike) – The C function.mu (
DTypeLike) – The gravitational parameter.
- Return type:
- Returns:
The State Transition Matrix for position with respect to initial position.
Notes
The State Transition Matrix for position with respect to initial position is defined as:
\[ \frac{d\boldsymbol{r}}{d\boldsymbol{r}_0} = \frac{r}{\mu} (\boldsymbol{v} - \boldsymbol{v}_0) (\boldsymbol{v} - \boldsymbol{v}_0)^T + (1 - F) \frac{\boldsymbol{r} \boldsymbol{r}_0^T}{r_0^2} + \frac{C \boldsymbol{v} \boldsymbol{r}_0^T}{r_0^3} + F \boldsymbol{I} \]where \(\boldsymbol{r}\) is the position vector at current time, \(\boldsymbol{v}\) is the velocity vector at the current time, \(\boldsymbol{r}_0\) is the position vector at the initial time, \(\boldsymbol{v}_0\) is the velocity vector at the initial time, \(F\) is the Lagrange F function, \(C\) is the C function, \(\mu\) is the gravitational parameter, and \(\boldsymbol{I}\) is the identity matrix.References
Battin, 1999, pp.467.