Tudat/Astrodynamics/OrbitDetermination/ObservationPartials/angularPositionPartial.cpp
//! Function to compute the derivative of (direct geometric) right ascension and declination w.r.t. position of observer or
//! observed object.
Function to compute the derivative of (direct geometric) right ascension and declination w.r.t. position of observer or
observed object.
Function to compute the derivative of ( direct geometric ) right ascension and declination w . r . t . position of observer or observed object .
Eigen::Matrix< double, 2, 3 > calculatePartialOfAngularPositionWrtLinkEndPosition(
        Eigen::Vector3d relativeRangeVector,
        const bool isLinkEndReceiver )
{
    Eigen::Matrix< double, 2, 3 > angularPositionPartial;
    angularPositionPartial.block( 0, 0, 1, 3 ) = calculatePartialOfRightAscensionWrtLinkEndPosition(
                relativeRangeVector, isLinkEndReceiver );
    angularPositionPartial.block( 1, 0, 1, 3 ) = calculatePartialOfDeclinationWrtLinkEndPosition(
                relativeRangeVector, isLinkEndReceiver );
    return angularPositionPartial;
}
Eigen :: Matrix < double , 2 , 3 > calculatePartialOfAngularPositionWrtLinkEndPosition ( Eigen :: Vector3d relativeRangeVector , const bool isLinkEndReceiver ) { Eigen :: Matrix < double , 2 , 3 > angularPositionPartial ; angularPositionPartial . block ( 0 , 0 , 1 , 3 ) = calculatePartialOfRightAscensionWrtLinkEndPosition ( relativeRangeVector , isLinkEndReceiver ) ; angularPositionPartial . block ( 1 , 0 , 1 , 3 ) = calculatePartialOfDeclinationWrtLinkEndPosition ( relativeRangeVector , isLinkEndReceiver ) ; return angularPositionPartial ; }
Function to compute the derivative of (direct geometric) right ascension and declination w.r.t.
Function to compute the derivative of ( direct geometric ) right ascension and declination w . r . t .