Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCL::HornerEvaluator< M > Struct Template Reference

#include <G4INCLHornerFormEvaluator.hh>

Static Public Member Functions

template<G4int N>
static G4double eval (const G4double x, HornerCoefficients< N > const &coeffs)
 

Detailed Description

template<G4int M>
struct G4INCL::HornerEvaluator< M >

Definition at line 180 of file G4INCLHornerFormEvaluator.hh.

Member Function Documentation

template<G4int M>
template<G4int N>
static G4double G4INCL::HornerEvaluator< M >::eval ( const G4double  x,
HornerCoefficients< N > const &  coeffs 
)
inlinestatic

Definition at line 182 of file G4INCLHornerFormEvaluator.hh.

182  {
183  return coeffs[N-M] + x * HornerEvaluator<M-1>::eval(x, coeffs);
184  }
const int N
Definition: mixmax.h:43
static G4double eval(const G4double x, HornerCoefficients< N > const &coeffs)

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: