GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
MathUtils.h File Reference
#include <vector>
#include <TMatrixD.h>
#include <TVectorD.h>
#include <TLorentzVector.h>
#include "Framework/Utils/Range1.h"
#include "cmath"
Include dependency graph for MathUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  genie::utils::math::LongLorentzVector
 

Namespaces

 genie::utils::math
 Simple mathematical utilities not found in ROOT's TMath.
 
 genie
 THE MAIN GENIE PROJECT NAMESPACE
 
 genie::utils
 Root of GENIE utility namespaces.
 

Functions

TMatrixD genie::utils::math::CholeskyDecomposition (const TMatrixD &cov)
 
TVectorD genie::utils::math::CholeskyGenerateCorrelatedParams (const TMatrixD &Lch, TVectorD &mean)
 
TVectorD genie::utils::math::CholeskyGenerateCorrelatedParams (const TMatrixD &Lch, TVectorD &mean, TVectorD &g_uncorrelated)
 
TVectorD genie::utils::math::CholeskyGenerateCorrelatedParamVariations (const TMatrixD &Lch)
 
TVectorD genie::utils::math::CholeskyCalculateCorrelatedParamVariations (const TMatrixD &Lch, TVectorD &g_uncorrelated)
 
double genie::utils::math::KahanSummation (double x[], unsigned int n)
 
double genie::utils::math::KahanSummation (const vector< double > &x)
 
bool genie::utils::math::AreEqual (double x1, double x2)
 
bool genie::utils::math::AreEqual (float x1, float x2)
 
bool genie::utils::math::IsWithinLimits (double x, Range1D_t range)
 
bool genie::utils::math::IsWithinLimits (float x, Range1F_t range)
 
bool genie::utils::math::IsWithinLimits (int i, Range1I_t range)
 
double genie::utils::math::NonNegative (double x)
 
double genie::utils::math::NonNegative (float x)