Geant4-11
Public Member Functions | Protected Attributes
G4INCL::HornerC5 Struct Reference

#include <G4INCLHornerFormEvaluator.hh>

Inheritance diagram for G4INCL::HornerC5:
G4INCL::HornerCoefficients< 5 >

Public Member Functions

 HornerC5 (const G4double a0, const G4double a1, const G4double a2, const G4double a3, const G4double a4)
 
G4doubleoperator[] (G4int i)
 
const G4doubleoperator[] (G4int i) const
 

Protected Attributes

G4double a [N]
 

Detailed Description

Definition at line 103 of file G4INCLHornerFormEvaluator.hh.

Constructor & Destructor Documentation

◆ HornerC5()

G4INCL::HornerC5::HornerC5 ( const G4double  a0,
const G4double  a1,
const G4double  a2,
const G4double  a3,
const G4double  a4 
)
inline

Definition at line 104 of file G4INCLHornerFormEvaluator.hh.

110 {
111 a[0] = a0;
112 a[1] = a1;
113 a[2] = a2;
114 a[3] = a3;
115 a[4] = a4;
116 }
const G4double a0

References G4INCL::HornerCoefficients< 5 >::a, and a0.

Member Function Documentation

◆ operator[]() [1/2]

G4double & G4INCL::HornerCoefficients< N >::operator[] ( G4int  i)
inlineinherited

Definition at line 55 of file G4INCLHornerFormEvaluator.hh.

55{ return a[i]; }

◆ operator[]() [2/2]

const G4double & G4INCL::HornerCoefficients< N >::operator[] ( G4int  i) const
inlineinherited

Definition at line 56 of file G4INCLHornerFormEvaluator.hh.

56{ return a[i]; }

Field Documentation

◆ a

G4double G4INCL::HornerCoefficients< N >::a[N]
protectedinherited

Definition at line 53 of file G4INCLHornerFormEvaluator.hh.


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