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)


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 
)

Definition at line 39 of file G4PolynomialSolver.icc.

00041 {
00042   Precision = precision ;
00043   FunctionClass = typeF ;
00044   Function = func ;
00045   Derivative = deriv ;  
00046 }

template<class T, class F>
G4PolynomialSolver< T, F >::~G4PolynomialSolver (  ) 

Definition at line 49 of file G4PolynomialSolver.icc.

00050 {
00051 }


Member Function Documentation

template<class T, class F>
G4double G4PolynomialSolver< T, F >::solve ( G4double  IntervalMin,
G4double  IntervalMax 
)

Definition at line 54 of file G4PolynomialSolver.icc.

00056 {
00057   return Newton(IntervalMin,IntervalMax);  
00058 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:58 2013 for Geant4 by  doxygen 1.4.7