FACT++  1.0
static void t_rxpv ( int *  status)
static

Definition at line 7463 of file t_erfa_c.c.

References eraRxpv(), and vvd().

Referenced by main().

7478 {
7479  double r[3][3], pv[2][3], rpv[2][3];
7480 
7481 
7482  r[0][0] = 2.0;
7483  r[0][1] = 3.0;
7484  r[0][2] = 2.0;
7485 
7486  r[1][0] = 3.0;
7487  r[1][1] = 2.0;
7488  r[1][2] = 3.0;
7489 
7490  r[2][0] = 3.0;
7491  r[2][1] = 4.0;
7492  r[2][2] = 5.0;
7493 
7494  pv[0][0] = 0.2;
7495  pv[0][1] = 1.5;
7496  pv[0][2] = 0.1;
7497 
7498  pv[1][0] = 1.5;
7499  pv[1][1] = 0.2;
7500  pv[1][2] = 0.1;
7501 
7502  eraRxpv(r, pv, rpv);
7503 
7504  vvd(rpv[0][0], 5.1, 1e-12, "eraRxpv", "11", status);
7505  vvd(rpv[1][0], 3.8, 1e-12, "eraRxpv", "12", status);
7506 
7507  vvd(rpv[0][1], 3.9, 1e-12, "eraRxpv", "21", status);
7508  vvd(rpv[1][1], 5.2, 1e-12, "eraRxpv", "22", status);
7509 
7510  vvd(rpv[0][2], 7.1, 1e-12, "eraRxpv", "31", status);
7511  vvd(rpv[1][2], 5.8, 1e-12, "eraRxpv", "32", status);
7512 
7513 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraRxpv(double r[3][3], double pv[2][3], double rpv[2][3])
Definition: rxpv.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: