Namespaces | Functions

WCSimMathUtil.hh File Reference

#include <cmath>
#include "TMath.h"

Go to the source code of this file.


namespace  WCSimMathUtil


template<class T >
WCSimMathUtil::sqr (T x)
Double_t WCSimMathUtil::pythag (Double_t x, Double_t y)
Double_t WCSimMathUtil::pythag (Double_t x, Double_t y, Double_t z)
Double_t WCSimMathUtil::pythag (Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2)
Double_t WCSimMathUtil::DotProduct (Double_t *A, Double_t *B)
Double_t WCSimMathUtil::Magnitude (Double_t *A, Double_t *B)
Double_t WCSimMathUtil::Determinant (Double_t a, Double_t b, Double_t c)
void WCSimMathUtil::SubtractVec (Double_t *A, Double_t *B, Double_t *res)
void WCSimMathUtil::RealRoots (Double_t a, Double_t b, Double_t arg_sqrt, Double_t &firstRoot, Double_t &secondRoot)