StFormulary
class description - source file - inheritance tree
public:
StFormulary StFormulary()
StFormulary StFormulary(StFormulary&)
virtual void ~StFormulary()
Double_t Abs(const Double_t* p, Int_t dim = 3)
Double_t Angle(const Double_t* x1, const Double_t* x2, Int_t dim = 3)
static TClass* Class()
void Diff(const Double_t* p1, const Double_t* p2, Double_t* P, Int_t n = 3)
Double_t Dist(const Double_t* p1, const Double_t* p2, Int_t dim = 3)
Double_t Dist_squared(const Double_t* p1, const Double_t* p2, Int_t dim = 3)
virtual TClass* IsA() const
void Pq(const Double_t* p, const Double_t* q, Double_t* x)
Double_t RelDiff(const Double_t p1, const Double_t p2)
Double_t ScalarProd(const Double_t* a, const Double_t* b, Int_t dim = 3)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
Double_t Square(const Double_t* p, Int_t dim = 3)
virtual void Streamer(TBuffer& b)
void Sum(const Double_t* p1, const Double_t* p2, Double_t* P, Int_t n = 3)
void VectorProd(const Double_t* a, const Double_t* b, Double_t* c)
StFormulary
The StFormulary class improves the TMath class by adding some often used
functions and calulations.
StFormulary() : TMath()
Constructor. Creates a StFormulary object.
~StFormulary()
StFormulary destructor.
Double_t RelDiff(const Double_t p1, const Double_t p2)
Returns the relative diffenrence of two points.
void Pq(const Double_t *p, const Double_t *q, Double_t x[2])
Calculates the x(y=0)-values of a parabola of the form
x^2 + p * x + q = 0.
Double_t Angle(const Double_t *x1, const Double_t *x2, Int_t dim)
Returns the angle between to vectors (in dim dimensions).
Double_t Dist_squared(const Double_t *p1, const Double_t *p2, Int_t dim)
Calculates the distance squared of two points in euclidian geometry.
Double_t Dist(const Double_t *p1, const Double_t *p2, Int_t dim)
Calculates the distance of two points in euclidian geometry.
void VectorProd(const Double_t *a, const Double_t *b, Double_t *c)
Calculates the (euclidian) vector product of two vectors in three dimensions.
Double_t ScalarProd(const Double_t *a, const Double_t *b, Int_t dim)
Calculates the (euclidian) scalar product of two vectors
Double_t Square(const Double_t *p, Int_t dim)
Calculates the scalar product of the given vector with itself.
void Sum(const Double_t *p1, const Double_t *p2, Double_t *P, Int_t n)
Calculates the sum of the two n-dimensional vectors and stores the
result in the vector P.
void Diff(const Double_t *p1, const Double_t *p2, Double_t *P, Int_t n)
Calculates the difference of the two n-dimensional vectors and stores the
result in the vector P.
Double_t Abs(const Double_t *p, Int_t dim)
Calculates the length of a vector in ordinary euclidian geometry.
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
StFormulary StFormulary(StFormulary&)
Author: Markus D. Oldenburg
Last update: 20.04.2000
Copyright © MDO Production 1999
ROOT page - Home page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.