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

#include <G4INCLHornerFormEvaluator.hh>

Inheritance diagram for G4INCL::HornerC7:
G4INCL::HornerCoefficients< 7 >

Public Member Functions

 HornerC7 (const G4double a0, const G4double a1, const G4double a2, const G4double a3, const G4double a4, const G4double a5, const G4double a6)
 
G4doubleoperator[] (G4int i)
 
const G4doubleoperator[] (G4int i) const
 

Protected Attributes

G4double a [N]
 

Detailed Description

Definition at line 137 of file G4INCLHornerFormEvaluator.hh.

Constructor & Destructor Documentation

◆ HornerC7()

G4INCL::HornerC7::HornerC7 ( const G4double  a0,
const G4double  a1,
const G4double  a2,
const G4double  a3,
const G4double  a4,
const G4double  a5,
const G4double  a6 
)
inline

Definition at line 138 of file G4INCLHornerFormEvaluator.hh.

146 {
147 a[0] = a0;
148 a[1] = a1;
149 a[2] = a2;
150 a[3] = a3;
151 a[4] = a4;
152 a[5] = a5;
153 a[6] = a6;
154 }
const G4double a0

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