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

Definition at line 933 of file palTest.c.

References palDcc2s(), palDsep(), palDsepv(), and vvd().

Referenced by main().

933  {
934  double d1[3] = { 1.0, 0.1, 0.2 };
935  double d2[3] = { -3.0, 1e-3, 0.2 };
936  double ad1, bd1, ad2, bd2;
937 
938  palDcc2s( d1, &ad1, &bd1 );
939  palDcc2s( d2, &ad2, &bd2 );
940 
941  vvd ( palDsep ( ad1, bd1, ad2, bd2 ),
942  2.8603919190246608, 1e-7, "palDsep", " ", status );
943  vvd ( palDsepv ( d1, d2 ),
944  2.8603919190246608, 1e-7, "palDsepv", " ", status );
945 
946 }
double palDsep(double a1, double b1, double a2, double b2)
Definition: palOne2One.c:810
void palDcc2s(double v[3], double *a, double *b)
Definition: palOne2One.c:327
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99
double palDsepv(double v1[3], double v2[3])
Definition: palOne2One.c:849

+ Here is the call graph for this function:

+ Here is the caller graph for this function: