Geant4  10.01.p02
G4PolynomialSolver< T, F > Class Template Reference

#include <G4PolynomialSolver.hh>

Public Member Functions

 G4PolynomialSolver (T *typeF, F func, F deriv, G4double precision)
 
 ~G4PolynomialSolver ()
 
G4double solve (G4double IntervalMin, G4double IntervalMax)
 

Private Member Functions

G4double Newton (G4double IntervalMin, G4double IntervalMax)
 
G4int BezierClipping (G4double *IntervalMin, G4double *IntervalMax)
 

Private Attributes

T * FunctionClass
 
Function
 
Derivative
 
G4double Precision
 

Detailed Description

template<class T, class F>
class G4PolynomialSolver< T, F >

Definition at line 104 of file G4PolynomialSolver.hh.

Constructor & Destructor Documentation

template<class T , class F >
G4PolynomialSolver< T, F >::G4PolynomialSolver ( T *  typeF,
func,
deriv,
G4double  precision 
)
template<class T , class F >
G4PolynomialSolver< T, F >::~G4PolynomialSolver ( )

Member Function Documentation

template<class T , class F >
G4int G4PolynomialSolver< T, F >::BezierClipping ( G4double IntervalMin,
G4double IntervalMax 
)
private
template<class T , class F >
G4double G4PolynomialSolver< T, F >::Newton ( G4double  IntervalMin,
G4double  IntervalMax 
)
private
template<class T , class F >
G4double G4PolynomialSolver< T, F >::solve ( G4double  IntervalMin,
G4double  IntervalMax 
)

Member Data Documentation

template<class T , class F >
F G4PolynomialSolver< T, F >::Derivative
private

Definition at line 129 of file G4PolynomialSolver.hh.

template<class T , class F >
F G4PolynomialSolver< T, F >::Function
private

Definition at line 128 of file G4PolynomialSolver.hh.

template<class T , class F >
T* G4PolynomialSolver< T, F >::FunctionClass
private

Definition at line 127 of file G4PolynomialSolver.hh.

template<class T , class F >
G4double G4PolynomialSolver< T, F >::Precision
private

Definition at line 131 of file G4PolynomialSolver.hh.


The documentation for this class was generated from the following file: