CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Gamma.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: 
00003 
00004 #include "CLHEP/GenericFunctions/Gamma.hh"
00005 #include <assert.h>
00006 #include <cmath>
00007 using namespace std;
00008 
00009 namespace Genfun {
00010 FUNCTION_OBJECT_IMP(Gamma)
00011 
00012 
00013 Gamma::Gamma()
00014 
00015 {}
00016 
00017 Gamma::Gamma(const Gamma & right) : AbsFunction(right)
00018 {
00019 }
00020 
00021 Gamma::~Gamma() {
00022 }
00023 
00024 double Gamma::operator() (double x) const {
00025   return  exp(_logGamma(x));
00026 
00027 }
00028 
00029 
00030 
00031 
00032 } // namespace Genfun

Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7