ROOT
master
Reference Guide
Loading...
Searching...
No Matches
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
44
class
GSLIntegrationWorkspace
{
45
46
public
:
47
48
GSLIntegrationWorkspace
(
size_t
n
) {
49
fWs
=
gsl_integration_workspace_alloc
(
n
);
50
}
51
~GSLIntegrationWorkspace
() {
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 */
gsl_integration_workspace_alloc
gsl_integration_workspace * gsl_integration_workspace_alloc(const size_t n)
Definition
RooAdaptiveGaussKronrodIntegrator1D.cxx:1567
gsl_integration_workspace_free
void gsl_integration_workspace_free(gsl_integration_workspace *w)
Definition
RooAdaptiveGaussKronrodIntegrator1D.cxx:1669
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
ROOT::Math::GSLIntegrationWorkspace
Definition
GSLIntegrationWorkspace.h:44
ROOT::Math::GSLIntegrationWorkspace::GSLIntegrationWorkspace
GSLIntegrationWorkspace(size_t n)
Definition
GSLIntegrationWorkspace.h:48
ROOT::Math::GSLIntegrationWorkspace::fWs
gsl_integration_workspace * fWs
Definition
GSLIntegrationWorkspace.h:58
ROOT::Math::GSLIntegrationWorkspace::~GSLIntegrationWorkspace
~GSLIntegrationWorkspace()
Definition
GSLIntegrationWorkspace.h:51
ROOT::Math::GSLIntegrationWorkspace::GetWS
gsl_integration_workspace * GetWS()
Definition
GSLIntegrationWorkspace.h:55
n
const Int_t n
Definition
legend1.C:16
Math
Namespace for new Math classes and functions.
ROOT
Definition
EExecutionPolicy.hxx:4
gsl_integration_workspace
Definition
RooAdaptiveGaussKronrodIntegrator1D.cxx:72
math
mathmore
src
GSLIntegrationWorkspace.h
ROOT master - Reference Guide Generated on Tue Sep 30 2025 15:30:52 (GVA Time) using Doxygen 1.10.0