ARTS  2.4.0(git:4fb77825)
legendre.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2012 Oliver Lemke <olemke@core-dump.info>
2 
3  This program is free software; you can redistribute it and/or modify it
4  under the terms of the GNU General Public License as published by the
5  Free Software Foundation; either version 2, or (at your option) any
6  later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16  USA.
17  */
18 
20 // File description
22 
31 #ifndef legendre_h
32 #define legendre_h
33 
34 #include "arts.h"
35 #include "matpackI.h"
36 
37 typedef struct {
38  size_t n; /* number of points */
39  double* x; /* Gauss abscissae/points */
40  double* w; /* Gauss weights for each abscissae */
41  int precomputed; /* high precision abscissae/weights precomputed? */
43 
45 
47 
49 
51 
53 
55 
57 
59 
61 
63 
65 
67 
69 
70 #endif /* legendre_h */
g_legendre_poly
Numeric g_legendre_poly(Index l, Index m, Numeric x)
g_legendre_poly
Definition: legendre.cc:290
legendre_poly_deriv
Numeric legendre_poly_deriv(Index l, Index m, Numeric x)
legendre_poly_deriv
Definition: legendre.cc:151
g_legendre_poly_norm_schmidt_deriv3
Numeric g_legendre_poly_norm_schmidt_deriv3(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt_deriv3
Definition: legendre.cc:663
g_legendre_poly_norm_schmidt_deriv2
Numeric g_legendre_poly_norm_schmidt_deriv2(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt_deriv2
Definition: legendre.cc:594
w
Complex w(Complex z) noexcept
The Faddeeva function.
Definition: linefunctions.cc:42
g_legendre_poly_norm_schmidt
Numeric g_legendre_poly_norm_schmidt(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt
Definition: legendre.cc:355
g_legendre_poly_deriv
Numeric g_legendre_poly_deriv(Index l, Index m, Numeric x)
g_legendre_poly_deriv
Definition: legendre.cc:385
legendre_poly_norm_schmidt_deriv
Numeric legendre_poly_norm_schmidt_deriv(Index l, Index m, Numeric x)
legendre_poly_norm_schmidt_deriv
Definition: legendre.cc:216
gsl_integration_glfixed_table::precomputed
int precomputed
Definition: legendre.h:41
gsl_integration_glfixed_table_alloc
bool gsl_integration_glfixed_table_alloc(Vector &x, Vector &w, Index n)
gsl_integration_glfixed_table_alloc
Definition: legendre.cc:2685
matpackI.h
Implementation of Matrix, Vector, and such stuff.
gsl_integration_glfixed_table::w
double * w
Definition: legendre.h:40
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
legendre_poly
Numeric legendre_poly(Index l, Index m, Numeric x)
legendre_poly
Definition: legendre.cc:58
legendre_poly_norm_schmidt
Numeric legendre_poly_norm_schmidt(Index l, Index m, Numeric x)
legendre_poly_norm_schmidt
Definition: legendre.cc:122
g_legendre_poly_norm_schmidt_deriv1
Numeric g_legendre_poly_norm_schmidt_deriv1(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt_deriv1
Definition: legendre.cc:522
gsl_integration_glfixed_table
Definition: legendre.h:37
ARTS::Var::x
Vector x(Workspace &ws) noexcept
Definition: autoarts.h:7346
Index
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:39
g_legendre_poly_norm_schmidt_deriv4
Numeric g_legendre_poly_norm_schmidt_deriv4(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt_deriv4
Definition: legendre.cc:732
Vector
The Vector class.
Definition: matpackI.h:860
gsl_integration_glfixed_table::x
double * x
Definition: legendre.h:39
g_legendre_poly_norm_schmidt_deriv
Numeric g_legendre_poly_norm_schmidt_deriv(Index l, Index m, Numeric x)
g_legendre_poly_norm_schmidt_deriv
Definition: legendre.cc:451
gsl_integration_glfixed_table::n
size_t n
Definition: legendre.h:38
arts.h
The global header file for ARTS.