ROOT
master
Reference Guide
Loading...
Searching...
No Matches
GSLChebSeries.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 GSLChebSeries
26
//
27
// Created by: moneta at Thu Dec 2 16:50:07 2004
28
//
29
// Last update: Thu Dec 2 16:50:07 2004
30
//
31
#ifndef ROOT_Math_GSLChebSeries
32
#define ROOT_Math_GSLChebSeries
33
34
#include "gsl/gsl_chebyshev.h"
35
36
37
namespace
ROOT
{
38
namespace
Math
{
39
40
/**
41
wrapper class for C struct gsl_cheb_series
42
*/
43
44
class
GSLChebSeries
{
45
46
public
:
47
GSLChebSeries
(
size_t
n
)
48
{
49
m_cs
=
gsl_cheb_alloc
(
n
);
50
}
51
52
virtual
~GSLChebSeries
() {
53
gsl_cheb_free
(
m_cs
);
54
}
55
56
// usually copying is non trivial, so we delete this
57
GSLChebSeries
(
const
GSLChebSeries
&) =
delete
;
58
GSLChebSeries
&
operator =
(
const
GSLChebSeries
&) =
delete
;
59
GSLChebSeries
(
GSLChebSeries
&&) =
delete
;
60
GSLChebSeries
&
operator =
(
GSLChebSeries
&&) =
delete
;
61
62
gsl_cheb_series
*
get
()
const
{
return
m_cs
; }
63
64
private
:
65
66
gsl_cheb_series
*
m_cs
;
67
68
};
69
70
71
}
// namespace Math
72
}
// namespace ROOT
73
74
75
#endif
/* ROOT_Math_GSLChebSeries */
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::Detail::TRangeCast
Definition
TCollection.h:311
ROOT::Math::GSLChebSeries
wrapper class for C struct gsl_cheb_series
Definition
GSLChebSeries.h:44
ROOT::Math::GSLChebSeries::operator=
GSLChebSeries & operator=(const GSLChebSeries &)=delete
ROOT::Math::GSLChebSeries::~GSLChebSeries
virtual ~GSLChebSeries()
Definition
GSLChebSeries.h:52
ROOT::Math::GSLChebSeries::GSLChebSeries
GSLChebSeries(GSLChebSeries &&)=delete
ROOT::Math::GSLChebSeries::GSLChebSeries
GSLChebSeries(size_t n)
Definition
GSLChebSeries.h:47
ROOT::Math::GSLChebSeries::GSLChebSeries
GSLChebSeries(const GSLChebSeries &)=delete
ROOT::Math::GSLChebSeries::m_cs
gsl_cheb_series * m_cs
Definition
GSLChebSeries.h:66
ROOT::Math::GSLChebSeries::get
gsl_cheb_series * get() const
Definition
GSLChebSeries.h:62
n
const Int_t n
Definition
legend1.C:16
Math
Namespace for new Math classes and functions.
ROOT
Definition
EExecutionPolicy.hxx:4
math
mathmore
src
GSLChebSeries.h
ROOT master - Reference Guide Generated on Tue Sep 30 2025 15:30:52 (GVA Time) using Doxygen 1.10.0