GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IntegrationTools.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \namespace genie::alvarezruso::integrationTools
5 
6 \brief Some fast integration tools
7 
8 \author Steve Boyd < s.b.boyd \at warwick.ac.uk >
9  University of Warwick
10 
11 \created Oct 24th, 2013
12 
13 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _AR_INT_TOOLS_H_
19 #define _AR_INT_TOOLS_H_
20 
21 #include <vector>
22 #include <complex>
23 
24 namespace genie {
25 namespace alvarezruso {
26 namespace integrationtools
27 {
28  void SG20R(const double a, const double b, const unsigned int n, const unsigned int nsamp, double* x, unsigned int& np, double* w);
29  std::complex<double> RG201D(const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex<double> CF[]);
30  void RG202D(const double a, const double b, unsigned int n, unsigned int l,
31  unsigned int m, std::vector< std::vector<std::complex<double> > >& cf,
32  const unsigned int nsamp, std::vector<std::complex<double> >& cres);
33 
34  void SG48R(const double a, const double b, const unsigned int n, const unsigned int nsamp, double* x, unsigned int& np, double* w);
35  std::complex<double> RG481D(const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex<double> CF[]);
36  void RG482D(const double a, const double b, unsigned int n, unsigned int l,
37  unsigned int m, std::vector< std::vector<std::complex<double> > >& cf,
38  const unsigned int nsamp, std::vector<std::complex<double> >& cres);
39 
40  void SGNR (const double a, const double b, const unsigned int n, const unsigned int nsamp, double* x, unsigned int& np, double* w);
41  std::complex<double> RGN1D (const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex<double> CF[]);
42  void RGN2D (const double a, const double b, unsigned int n, unsigned int l,
43  unsigned int m, std::vector< std::vector<std::complex<double> > >& cf,
44  const unsigned int nsamp, std::vector<std::complex<double> >& cres);
45 
46 } // IntegrationTools namespace
47 } // alvarezruso namespace
48 } // genie namespace
49 
50 #endif // AR_INT_TOOLS_H_
void SG20R(const double a, const double b, const unsigned int n, const unsigned int nsamp, double *x, unsigned int &np, double *w)
std::complex< double > RG201D(const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex< double > CF[])
void RGN2D(const double a, const double b, unsigned int n, unsigned int l, unsigned int m, std::vector< std::vector< std::complex< double > > > &cf, const unsigned int nsamp, std::vector< std::complex< double > > &cres)
static constexpr double b
Definition: Units.h:78
static constexpr double A
Definition: Units.h:74
const double a
void SG48R(const double a, const double b, const unsigned int n, const unsigned int nsamp, double *x, unsigned int &np, double *w)
std::complex< double > RG481D(const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex< double > CF[])
std::complex< double > RGN1D(const double A, const double B, const unsigned int N, const unsigned int nsamp, const std::complex< double > CF[])
void SGNR(const double a, const double b, const unsigned int n, const unsigned int nsamp, double *x, unsigned int &np, double *w)
void RG202D(const double a, const double b, unsigned int n, unsigned int l, unsigned int m, std::vector< std::vector< std::complex< double > > > &cf, const unsigned int nsamp, std::vector< std::complex< double > > &cres)
void RG482D(const double a, const double b, unsigned int n, unsigned int l, unsigned int m, std::vector< std::vector< std::complex< double > > > &cf, const unsigned int nsamp, std::vector< std::complex< double > > &cres)
static constexpr double m
Definition: Units.h:71