Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
GSLRootFdFSolver.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 GSLRootFdFSolver
26//
27// Created by: moneta at Sun Nov 14 17:23:06 2004
28//
29// Last update: Sun Nov 14 17:23:06 2004
30//
31#ifndef ROOT_Math_GSLRootFdFSolver
32#define ROOT_Math_GSLRootFdFSolver
33
34
35#include "gsl/gsl_roots.h"
36
37
38namespace ROOT {
39namespace Math {
40
41
42/**
43 Root-Finder with derivatives implementation class using GSL
44
45 @ingroup RootFinders
46 */
48
49public:
50
51 GSLRootFdFSolver(const gsl_root_fdfsolver_type * type) {
52 fSolver = gsl_root_fdfsolver_alloc( type);
53 }
55 gsl_root_fdfsolver_free( fSolver);
56 }
57
58/* private: */
59/* // usually copying is non trivial, so we make this unaccessible */
60/* GSLRootFdFSolver(const GSLRootFdFSolver &); */
61/* GSLRootFdFSolver & operator = (const GSLRootFdFSolver &); */
62
63/* public: */
64
65 gsl_root_fdfsolver * Solver() const { return fSolver; }
66
67
68protected:
69
70
71private:
72
73 gsl_root_fdfsolver *fSolver;
74
75
76};
77
78} // namespace Math
79} // namespace ROOT
80
81
82#endif /* ROOT_Math_GSLRootFdFSolver */
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Root-Finder with derivatives implementation class using GSL.
gsl_root_fdfsolver * fSolver
gsl_root_fdfsolver * Solver() const
GSLRootFdFSolver(const gsl_root_fdfsolver_type *type)
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...