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

#include <G4INCLHornerFormEvaluator.hh>

Inheritance diagram for G4INCL::HornerC4:
G4INCL::HornerCoefficients< 4 >

Public Member Functions

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

Protected Attributes

G4double a [N]
 

Detailed Description

Definition at line 89 of file G4INCLHornerFormEvaluator.hh.

Constructor & Destructor Documentation

◆ HornerC4()

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

Definition at line 90 of file G4INCLHornerFormEvaluator.hh.

95 {
96 a[0] = a0;
97 a[1] = a1;
98 a[2] = a2;
99 a[3] = a3;
100 }
const G4double a0

References G4INCL::HornerCoefficients< 4 >::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: