Tudat/Astrodynamics/OrbitDetermination/RotationalDynamicsPartials/inertialTorquePartial.cpp
//! Function to compute partial of torque w.r.t. gravitational parameter

Function to compute partial of torque w.r.t. gravitational parameter
Function to compute partial of torque w . r . t . gravitational parameter
void InertialTorquePartial::wrtGravitationalParameter(
        Eigen::MatrixXd& gravitationalParameterPartial )
{
    gravitationalParameterPartial .block( 0, 0, 3, 1 ) =
            - currentAngularVelocityCrossProductMatrix_ * currentInertiaTensor_ * currentAngularVelocityVector_ /
            currentGravitationalParameter_ ;
}
void InertialTorquePartial :: wrtGravitationalParameter ( Eigen :: MatrixXd & gravitationalParameterPartial ) { gravitationalParameterPartial . block ( 0 , 0 , 3 , 1 ) = - currentAngularVelocityCrossProductMatrix_ * currentInertiaTensor_ * currentAngularVelocityVector_ / currentGravitationalParameter_ ; }
Function to compute partial of torque w.r.t.
Function to compute partial of torque w . r . t .