#include <G4ChebyshevApproximation.hh>
 | 
|   | G4ChebyshevApproximation (function pFunction, G4int n, G4double a, G4double b) | 
|   | 
|   | G4ChebyshevApproximation (function pFunction, G4int n, G4int m, G4double a, G4double b) | 
|   | 
|   | G4ChebyshevApproximation (function pFunction, G4double a, G4double b, G4int n) | 
|   | 
|   | ~G4ChebyshevApproximation () | 
|   | 
| G4double  | GetChebyshevCof (G4int number) const | 
|   | 
| G4double  | ChebyshevEvaluation (G4double x) const | 
|   | 
| void  | DerivativeChebyshevCof (G4double derCof[]) const | 
|   | 
| void  | IntegralChebyshevCof (G4double integralCof[]) const | 
|   | 
◆ G4ChebyshevApproximation() [1/4]
Definition at line 39 of file G4ChebyshevApproximation.cc.
   55       rootSum = std::cos(cof*(i+0.5)) ;
    65          rootSum += tempFunction[i]*std::cos(cofj*(i+0.5)) ;
    69    delete[] tempFunction ;
 
 
 
 
◆ G4ChebyshevApproximation() [2/4]
Definition at line 80 of file G4ChebyshevApproximation.cc.
   89       G4Exception(
"G4ChebyshevApproximation::G4ChebyshevApproximation()",
   100       rootSum = std::cos(cof*(i+0.5)) ;
   110          rootSum += tempFunction[i]*std::cos(cofj*(i+0.5)) ;
   125    delete[] tempFunction ;   
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
void DerivativeChebyshevCof(G4double derCof[]) const
 
 
 
 
◆ G4ChebyshevApproximation() [3/4]
Definition at line 133 of file G4ChebyshevApproximation.cc.
  149       rootSum = std::cos(cof*(i+0.5)) ;
   159          rootSum += tempFunction[i]*std::cos(cofj*(i+0.5)) ;
   170    delete[] tempFunction ;   
 
void IntegralChebyshevCof(G4double integralCof[]) const
 
 
 
 
◆ ~G4ChebyshevApproximation()
      
        
          | G4ChebyshevApproximation::~G4ChebyshevApproximation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ G4ChebyshevApproximation() [4/4]
◆ ChebyshevEvaluation()
Definition at line 207 of file G4ChebyshevApproximation.cc.
  209    G4double evaluate = 0.0, evaluate2 = 0.0, temp = 0.0,
   210             xReduced = 0.0, xReduced2 = 0.0 ;
   214       G4Exception(
"G4ChebyshevApproximation::ChebyshevEvaluation()",
   218    xReduced2 = 2.0*xReduced ;
   222      evaluate  = xReduced2*evaluate - evaluate2 + 
fChebyshevCof[i] ;
   225    return xReduced*evaluate - evaluate2 + 0.5*
fChebyshevCof[0] ;
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ DerivativeChebyshevCof()
      
        
          | void G4ChebyshevApproximation::DerivativeChebyshevCof  | 
          ( | 
          G4double  | 
          derCof[] | ) | 
           const | 
        
      
 
 
◆ GetChebyshevCof()
      
        
          | G4double G4ChebyshevApproximation::GetChebyshevCof  | 
          ( | 
          G4int  | 
          number | ) | 
           const | 
        
      
 
Definition at line 191 of file G4ChebyshevApproximation.cc.
  193    if(number < 0 && number >= 
fNumber)
   195       G4Exception(
"G4ChebyshevApproximation::GetChebyshevCof()",
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
◆ IntegralChebyshevCof()
      
        
          | void G4ChebyshevApproximation::IntegralChebyshevCof  | 
          ( | 
          G4double  | 
          integralCof[] | ) | 
           const | 
        
      
 
 
◆ operator=()
◆ fChebyshevCof
  
  
      
        
          | G4double* G4ChebyshevApproximation::fChebyshevCof | 
         
       
   | 
  
private   | 
  
 
 
◆ fDiff
  
  
      
        
          | G4double G4ChebyshevApproximation::fDiff | 
         
       
   | 
  
private   | 
  
 
 
◆ fFunction
  
  
      
        
          | function G4ChebyshevApproximation::fFunction | 
         
       
   | 
  
private   | 
  
 
 
◆ fMean
  
  
      
        
          | G4double G4ChebyshevApproximation::fMean | 
         
       
   | 
  
private   | 
  
 
 
◆ fNumber
  
  
      
        
          | G4int G4ChebyshevApproximation::fNumber | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: