76 void palPrebn (
double bep0,
double bep1,
double rmatp[3][3] ) {
78 double t,bigt, zeta, theta, z, tas2r,
w;
81 bigt = (bep0-1850)/100.;
88 w = 2303.5548 + ( 1.39720 + 0.000059 * bigt) * bigt;
90 zeta = ( w + ( 0.30242 - 0.000269 * bigt + 0.017996 *
t ) * t ) * tas2r;
91 z = ( w + ( 1.09478 + 0.000387 * bigt + 0.018324 *
t ) * t ) * tas2r;
92 theta = ( 2005.1125 + ( -0.85294 - 0.000365 * bigt ) * bigt +
93 (-0.42647 - 0.000365 * bigt - 0.041802 * t ) *
t ) * tas2r;
96 palDeuler(
"ZYZ", -zeta, theta, -z, rmatp);
static const double PAL__DAS2R
void palDeuler(const char *order, double phi, double theta, double psi, double rmat[3][3])
void palPrebn(double bep0, double bep1, double rmatp[3][3])