FACT++  1.0
void eraPvxpv ( double  a[2][3],
double  b[2][3],
double  axb[2][3] 
)

Definition at line 3 of file pvxpv.c.

References eraCpv(), eraPpp(), and eraPxp().

Referenced by t_pvxpv().

36 {
37  double wa[2][3], wb[2][3], axbd[3], adxb[3];
38 
39 /* Make copies of the inputs. */
40  eraCpv(a, wa);
41  eraCpv(b, wb);
42 
43 /* a x b = position part of result. */
44  eraPxp(wa[0], wb[0], axb[0]);
45 
46 /* a x bdot + adot x b = velocity part of result. */
47  eraPxp(wa[0], wb[1], axbd);
48  eraPxp(wa[1], wb[0], adxb);
49  eraPpp(axbd, adxb, axb[1]);
50 
51  return;
52 
53 }
void eraPxp(double a[3], double b[3], double axb[3])
Definition: pxp.c:3
void eraPpp(double a[3], double b[3], double apb[3])
Definition: ppp.c:3
void eraCpv(double pv[2][3], double c[2][3])
Definition: cpv.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: