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

Definition at line 6966 of file t_erfa_c.c.

References eraPvppv(), and vvd().

Referenced by main().

6981 {
6982  double a[2][3], b[2][3], apb[2][3];
6983 
6984 
6985  a[0][0] = 2.0;
6986  a[0][1] = 2.0;
6987  a[0][2] = 3.0;
6988 
6989  a[1][0] = 5.0;
6990  a[1][1] = 6.0;
6991  a[1][2] = 3.0;
6992 
6993  b[0][0] = 1.0;
6994  b[0][1] = 3.0;
6995  b[0][2] = 4.0;
6996 
6997  b[1][0] = 3.0;
6998  b[1][1] = 2.0;
6999  b[1][2] = 1.0;
7000 
7001  eraPvppv(a, b, apb);
7002 
7003  vvd(apb[0][0], 3.0, 1e-12, "eraPvppv", "p1", status);
7004  vvd(apb[0][1], 5.0, 1e-12, "eraPvppv", "p2", status);
7005  vvd(apb[0][2], 7.0, 1e-12, "eraPvppv", "p3", status);
7006 
7007  vvd(apb[1][0], 8.0, 1e-12, "eraPvppv", "v1", status);
7008  vvd(apb[1][1], 8.0, 1e-12, "eraPvppv", "v2", status);
7009  vvd(apb[1][2], 4.0, 1e-12, "eraPvppv", "v3", status);
7010 
7011 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraPvppv(double a[2][3], double b[2][3], double apb[2][3])
Definition: pvppv.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: