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

Definition at line 8529 of file t_erfa_c.c.

References eraTrxpv(), and vvd().

Referenced by main().

8544 {
8545  double r[3][3], pv[2][3], trpv[2][3];
8546 
8547 
8548  r[0][0] = 2.0;
8549  r[0][1] = 3.0;
8550  r[0][2] = 2.0;
8551 
8552  r[1][0] = 3.0;
8553  r[1][1] = 2.0;
8554  r[1][2] = 3.0;
8555 
8556  r[2][0] = 3.0;
8557  r[2][1] = 4.0;
8558  r[2][2] = 5.0;
8559 
8560  pv[0][0] = 0.2;
8561  pv[0][1] = 1.5;
8562  pv[0][2] = 0.1;
8563 
8564  pv[1][0] = 1.5;
8565  pv[1][1] = 0.2;
8566  pv[1][2] = 0.1;
8567 
8568  eraTrxpv(r, pv, trpv);
8569 
8570  vvd(trpv[0][0], 5.2, 1e-12, "eraTrxpv", "p1", status);
8571  vvd(trpv[0][1], 4.0, 1e-12, "eraTrxpv", "p1", status);
8572  vvd(trpv[0][2], 5.4, 1e-12, "eraTrxpv", "p1", status);
8573 
8574  vvd(trpv[1][0], 3.9, 1e-12, "eraTrxpv", "v1", status);
8575  vvd(trpv[1][1], 5.3, 1e-12, "eraTrxpv", "v2", status);
8576  vvd(trpv[1][2], 4.1, 1e-12, "eraTrxpv", "v3", status);
8577 
8578 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraTrxpv(double r[3][3], double pv[2][3], double trpv[2][3])
Definition: trxpv.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: