Skip to content

Class astrea::astro::StateTransitionMatrix

ClassList > astrea > astro > StateTransitionMatrix

Public Functions

Type Name
StateTransitionMatrix () = default
Default constructor for StateTransitionMatrix .
StateTransitionMatrix (const EquationsOfMotion & eom, const State & state, const Vehicle & vehicle)
Constructor for StateTransitionMatrix . Uses the provided equations of motion and state to initialize the STM numerically.
std::vector< Unitless > force_to_vector () const
Convert the STM to a vector of unitless quantities.
void set (const Value_T & value)
Set the STM element at (ii, jj) to the provided value.
~StateTransitionMatrix () = default
Default destructor for StateTransitionMatrix .

Public Functions Documentation

function StateTransitionMatrix [1/2]

Default constructor for StateTransitionMatrix .

astrea::astro::StateTransitionMatrix::StateTransitionMatrix () = default


function StateTransitionMatrix [2/2]

Constructor for StateTransitionMatrix . Uses the provided equations of motion and state to initialize the STM numerically.

astrea::astro::StateTransitionMatrix::StateTransitionMatrix (
    const EquationsOfMotion & eom,
    const State & state,
    const Vehicle & vehicle
) 

Parameters:

  • eom Equations of motion object
  • date Current date
  • state Current orbital elements state vector
  • vehicle Vehicle object

function force_to_vector

Convert the STM to a vector of unitless quantities.

std::vector< Unitless > astrea::astro::StateTransitionMatrix::force_to_vector () const

Returns:

std::vector<Unitless> Vector representation of the STM.


function set

Set the STM element at (ii, jj) to the provided value.

template<std::size_t ii, std::size_t jj, mp_units::Quantity Value_T>
inline void astrea::astro::StateTransitionMatrix::set (
    const Value_T & value
) 

Template parameters:

  • ii Row index
  • jj Column index

Parameters:

  • value Value to set

Note:

The value's unit will be forced to a unitless representation inside the STM. It is on the user to ensure that the correct units are used for the STM elements. I'm sorry.


function ~StateTransitionMatrix

Default destructor for StateTransitionMatrix .

astrea::astro::StateTransitionMatrix::~StateTransitionMatrix () = default



The documentation for this class was generated from the following file astrea/astro/astro/propagation/equations_of_motion/state_transition_matrix/StateTransitionMatrix.hpp