Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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)
#define N
Definition: crc32.c:56
static G4double eval(const G4double x, HornerCoefficients< N > const &coeffs)

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


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