Geant4-11
Static Public Member Functions
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

◆ eval()

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 }
#define M(row, col)
static G4double eval(const G4double x, HornerCoefficients< N > const &coeffs)

References G4INCL::HornerEvaluator< M >::eval(), and M.

Referenced by G4INCL::BystrickyEvaluator< N >::eval(), and G4INCL::HornerEvaluator< M >::eval().


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