Function lupnt::cheby_posvel_ad¶
Defined in File spice_cheby.cc
Function Documentation¶
-
Vec6 lupnt::cheby_posvel_ad(Real t, double *seg, long len)¶
Autodiff (
Real) counterpart ofcheby_posvel.Called by
spice::GetBodyPosVelBase(spice.cc) — the core ofspice::GetBodyPosVel— to evaluate cachedde440.bspChebyshev segments (extracted once byspk_extractduringLoadSpiceKernel) at an arbitrary epocht, preservingt’s autodiff derivative in the returned velocity.- Parameters:
t – Ephemeris time [s past J2000]
seg – Raw SPK Chebyshev segment data
len – Length of
segin doubles
- Returns:
[r; v]position [km] / velocity [km/s], orVec6::Zero()iftis outside the segment’s covered time range