CLHEP 2.0.4.7 Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Exp.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: Exp.cc,v 1.4 2003/10/10 17:40:39 garren Exp $ 
00003 #include "CLHEP/GenericFunctions/Exp.hh"
00004 #include <assert.h>
00005 #include <cmath>      // for exp()
00006 
00007 namespace Genfun {
00008 FUNCTION_OBJECT_IMP(Exp)
00009 
00010 Exp::Exp()
00011 {}
00012 
00013 Exp::Exp(const Exp & right)
00014 {}
00015 
00016 Exp::~Exp() {
00017 }
00018 
00019 double Exp::operator() (double x) const {
00020   return exp(x);
00021 }
00022 
00023 
00024 Derivative Exp::partial(unsigned int index) const {
00025   assert(index==0);
00026   return Derivative(this);
00027 }
00028 
00029 
00030 } // namespace Genfun

Generated on Thu Jul 1 22:02:30 2010 for CLHEP by  doxygen 1.4.7