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

Definition at line 7515 of file t_erfa_c.c.

References eraRxr(), and vvd().

Referenced by main().

7530 {
7531  double a[3][3], b[3][3], atb[3][3];
7532 
7533 
7534  a[0][0] = 2.0;
7535  a[0][1] = 3.0;
7536  a[0][2] = 2.0;
7537 
7538  a[1][0] = 3.0;
7539  a[1][1] = 2.0;
7540  a[1][2] = 3.0;
7541 
7542  a[2][0] = 3.0;
7543  a[2][1] = 4.0;
7544  a[2][2] = 5.0;
7545 
7546  b[0][0] = 1.0;
7547  b[0][1] = 2.0;
7548  b[0][2] = 2.0;
7549 
7550  b[1][0] = 4.0;
7551  b[1][1] = 1.0;
7552  b[1][2] = 1.0;
7553 
7554  b[2][0] = 3.0;
7555  b[2][1] = 0.0;
7556  b[2][2] = 1.0;
7557 
7558  eraRxr(a, b, atb);
7559 
7560  vvd(atb[0][0], 20.0, 1e-12, "eraRxr", "11", status);
7561  vvd(atb[0][1], 7.0, 1e-12, "eraRxr", "12", status);
7562  vvd(atb[0][2], 9.0, 1e-12, "eraRxr", "13", status);
7563 
7564  vvd(atb[1][0], 20.0, 1e-12, "eraRxr", "21", status);
7565  vvd(atb[1][1], 8.0, 1e-12, "eraRxr", "22", status);
7566  vvd(atb[1][2], 11.0, 1e-12, "eraRxr", "23", status);
7567 
7568  vvd(atb[2][0], 34.0, 1e-12, "eraRxr", "31", status);
7569  vvd(atb[2][1], 10.0, 1e-12, "eraRxr", "32", status);
7570  vvd(atb[2][2], 15.0, 1e-12, "eraRxr", "33", status);
7571 
7572 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraRxr(double a[3][3], double b[3][3], double atb[3][3])
Definition: rxr.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: