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

#include <G4INCLHornerFormEvaluator.hh>

Inheritance diagram for G4INCL::HornerC3:
G4INCL::HornerCoefficients< 3 >

Public Member Functions

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

Protected Attributes

G4double a [N]
 

Detailed Description

Definition at line 77 of file G4INCLHornerFormEvaluator.hh.

Constructor & Destructor Documentation

◆ HornerC3()

G4INCL::HornerC3::HornerC3 ( const G4double  a0,
const G4double  a1,
const G4double  a2 
)
inline

Definition at line 78 of file G4INCLHornerFormEvaluator.hh.

82 {
83 a[0] = a0;
84 a[1] = a1;
85 a[2] = a2;
86 }
const G4double a0

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