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

Definition at line 7891 of file t_erfa_c.c.

References eraS2xpv(), and vvd().

Referenced by main().

7906 {
7907  double s1, s2, pv[2][3], spv[2][3];
7908 
7909 
7910  s1 = 2.0;
7911  s2 = 3.0;
7912 
7913  pv[0][0] = 0.3;
7914  pv[0][1] = 1.2;
7915  pv[0][2] = -2.5;
7916 
7917  pv[1][0] = 0.5;
7918  pv[1][1] = 2.3;
7919  pv[1][2] = -0.4;
7920 
7921  eraS2xpv(s1, s2, pv, spv);
7922 
7923  vvd(spv[0][0], 0.6, 1e-12, "eraS2xpv", "p1", status);
7924  vvd(spv[0][1], 2.4, 1e-12, "eraS2xpv", "p2", status);
7925  vvd(spv[0][2], -5.0, 1e-12, "eraS2xpv", "p3", status);
7926 
7927  vvd(spv[1][0], 1.5, 1e-12, "eraS2xpv", "v1", status);
7928  vvd(spv[1][1], 6.9, 1e-12, "eraS2xpv", "v2", status);
7929  vvd(spv[1][2], -1.2, 1e-12, "eraS2xpv", "v3", status);
7930 
7931 }
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: t_erfa_c.c:58
void eraS2xpv(double s1, double s2, double pv[2][3], double spv[2][3])
Definition: s2xpv.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: