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

#include <G4INCLHornerFormEvaluator.hh>

Inheritance diagram for G4INCL::HornerC2:
G4INCL::HornerCoefficients< 2 >

Public Member Functions

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

Protected Attributes

G4double a [N]
 

Detailed Description

Definition at line 67 of file G4INCLHornerFormEvaluator.hh.

Constructor & Destructor Documentation

◆ HornerC2()

G4INCL::HornerC2::HornerC2 ( const G4double  a0,
const G4double  a1 
)
inline

Definition at line 68 of file G4INCLHornerFormEvaluator.hh.

71 {
72 a[0] = a0;
73 a[1] = a1;
74 }
const G4double a0

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