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

Definition at line 7178 of file t_erfa_c.c.

References eraPvxpv(), and vvd().

Referenced by main().

7193 {
7194  double a[2][3], b[2][3], axb[2][3];
7195 
7196 
7197  a[0][0] = 2.0;
7198  a[0][1] = 2.0;
7199  a[0][2] = 3.0;
7200 
7201  a[1][0] = 6.0;
7202  a[1][1] = 0.0;
7203  a[1][2] = 4.0;
7204 
7205  b[0][0] = 1.0;
7206  b[0][1] = 3.0;
7207  b[0][2] = 4.0;
7208 
7209  b[1][0] = 0.0;
7210  b[1][1] = 2.0;
7211  b[1][2] = 8.0;
7212 
7213  eraPvxpv(a, b, axb);
7214 
7215  vvd(axb[0][0], -1.0, 1e-12, "eraPvxpv", "p1", status);
7216  vvd(axb[0][1], -5.0, 1e-12, "eraPvxpv", "p2", status);
7217  vvd(axb[0][2], 4.0, 1e-12, "eraPvxpv", "p3", status);
7218 
7219  vvd(axb[1][0], -2.0, 1e-12, "eraPvxpv", "v1", status);
7220  vvd(axb[1][1], -36.0, 1e-12, "eraPvxpv", "v2", status);
7221  vvd(axb[1][2], 22.0, 1e-12, "eraPvxpv", "v3", status);
7222 
7223 }
void eraPvxpv(double a[2][3], double b[2][3], double axb[2][3])
Definition: pvxpv.c:3
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58

+ Here is the call graph for this function:

+ Here is the caller graph for this function: