28 #ifndef STAR_StFormulary
29 #define STAR_StFormulary
41 static Double_t CheckASinArg(Double_t asin_arg);
42 static Double_t RelDiff(
const Double_t p1,
const Double_t p2);
43 static void Pq(
const Double_t *p,
const Double_t *q, Double_t x[2]);
44 static Double_t Angle(
const Double_t *x1,
const Double_t *x2, Int_t dim = 3);
45 static Double_t Dist_squared(
const Double_t *p1,
const Double_t *p2, Int_t dim = 3);
46 static Double_t Dist(
const Double_t *p1,
const Double_t *p2, Int_t dim = 3);
47 static void VectorProd(
const Double_t *a,
const Double_t *b, Double_t *c);
48 static Double_t ScalarProd(
const Double_t *a,
const Double_t *b, Int_t dim = 3);
49 static Double_t Square(
const Double_t *p, Int_t dim = 3);
50 static void Sum(
const Double_t *p1,
const Double_t *p2, Double_t *P, Int_t n = 3);
51 static void Diff(
const Double_t *p1,
const Double_t *p2, Double_t *P, Int_t n = 3);
52 static Double_t Abs(
const Double_t *p, Int_t dim = 3);