Logo ROOT   6.13/01
Reference Guide
GSLIntegrationWorkspace.h
Go to the documentation of this file.
1 // @(#)root/mathmore:$Id$
2 // Authors: L. Moneta, A. Zsenei 08/2005
3 
4  /**********************************************************************
5  * *
6  * Copyright (c) 2004 ROOT Foundation, CERN/PH-SFT *
7  * *
8  * This library is free software; you can redistribute it and/or *
9  * modify it under the terms of the GNU General Public License *
10  * as published by the Free Software Foundation; either version 2 *
11  * of the License, or (at your option) any later version. *
12  * *
13  * This library is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16  * General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this library (see file COPYING); if not, write *
20  * to the Free Software Foundation, Inc., 59 Temple Place, Suite *
21  * 330, Boston, MA 02111-1307 USA, or contact the author. *
22  * *
23  **********************************************************************/
24 
25 // Header file for class GSLIntegratorWorkspace
26 //
27 // Created by: moneta at Sat Nov 13 14:55:27 2004
28 //
29 // Last update: Sat Nov 13 14:55:27 2004
30 //
31 #ifndef ROOT_Math_GSLIntegrationWorkspace
32 #define ROOT_Math_GSLIntegrationWorkspace
33 
34 
35 namespace ROOT {
36 namespace Math {
37 
38 #include "gsl/gsl_math.h"
39 
40 
41 #include "gsl/gsl_integration.h"
42 
43 
45 
46  public :
47 
49  fWs = gsl_integration_workspace_alloc( n);
50  }
52  gsl_integration_workspace_free( fWs);
53  }
54 
55  gsl_integration_workspace * GetWS() { return fWs; }
56 
57  private:
58  gsl_integration_workspace * fWs;
59 
60  };
61 
62 
63 } // namespace Math
64 } // namespace ROOT
65 
66 
67 #endif /* ROOT_Math_GSLIntegrationWorkspace */
Namespace for new ROOT classes and functions.
Definition: TFoamSampler.h:19
Namespace for new Math classes and functions.
gsl_integration_workspace * GetWS()