WPILibC++ 2023.4.3
gauss_legendre_30.hpp
Go to the documentation of this file.
1/*################################################################################
2 ##
3 ## Copyright (C) 2016-2022 Keith O'Hara
4 ##
5 ## This file is part of the GCE-Math C++ library.
6 ##
7 ## Licensed under the Apache License, Version 2.0 (the "License");
8 ## you may not use this file except in compliance with the License.
9 ## You may obtain a copy of the License at
10 ##
11 ## http://www.apache.org/licenses/LICENSE-2.0
12 ##
13 ## Unless required by applicable law or agreed to in writing, software
14 ## distributed under the License is distributed on an "AS IS" BASIS,
15 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ## See the License for the specific language governing permissions and
17 ## limitations under the License.
18 ##
19 ################################################################################*/
20
21/*
22 * Gauss-Legendre quadrature: 30 points
23 */
24
25static const long double gauss_legendre_30_points[30] = \
26{
27 -0.05147184255531769583302521316672L,
28 0.05147184255531769583302521316672L,
29 -0.15386991360858354696379467274326L,
30 0.15386991360858354696379467274326L,
31 -0.25463692616788984643980512981781L,
32 0.25463692616788984643980512981781L,
33 -0.35270472553087811347103720708937L,
34 0.35270472553087811347103720708937L,
35 -0.44703376953808917678060990032285L,
36 0.44703376953808917678060990032285L,
37 -0.53662414814201989926416979331107L,
38 0.53662414814201989926416979331107L,
39 -0.62052618298924286114047755643119L,
40 0.62052618298924286114047755643119L,
41 -0.69785049479331579693229238802664L,
42 0.69785049479331579693229238802664L,
43 -0.76777743210482619491797734097450L,
44 0.76777743210482619491797734097450L,
45 -0.82956576238276839744289811973250L,
46 0.82956576238276839744289811973250L,
47 -0.88256053579205268154311646253023L,
48 0.88256053579205268154311646253023L,
49 -0.92620004742927432587932427708047L,
50 0.92620004742927432587932427708047L,
51 -0.96002186496830751221687102558180L,
52 0.96002186496830751221687102558180L,
53 -0.98366812327974720997003258160566L,
54 0.98366812327974720997003258160566L,
55 -0.99689348407464954027163005091870L,
56 0.99689348407464954027163005091870L\
57};
58
59static const long double gauss_legendre_30_weights[30] = \
60{
61 0.10285265289355884034128563670542L,
62 0.10285265289355884034128563670542L,
63 0.10176238974840550459642895216855L,
64 0.10176238974840550459642895216855L,
65 0.09959342058679526706278028210357L,
66 0.09959342058679526706278028210357L,
67 0.09636873717464425963946862635181L,
68 0.09636873717464425963946862635181L,
69 0.09212252223778612871763270708762L,
70 0.09212252223778612871763270708762L,
71 0.08689978720108297980238753071513L,
72 0.08689978720108297980238753071513L,
73 0.08075589522942021535469493846053L,
74 0.08075589522942021535469493846053L,
75 0.07375597473770520626824385002219L,
76 0.07375597473770520626824385002219L,
77 0.06597422988218049512812851511596L,
78 0.06597422988218049512812851511596L,
79 0.05749315621761906648172168940206L,
80 0.05749315621761906648172168940206L,
81 0.04840267283059405290293814042281L,
82 0.04840267283059405290293814042281L,
83 0.03879919256962704959680193644635L,
84 0.03879919256962704959680193644635L,
85 0.02878470788332336934971917961129L,
86 0.02878470788332336934971917961129L,
87 0.01846646831109095914230213191205L,
88 0.01846646831109095914230213191205L,
89 0.00796819249616660561546588347467L,
90 0.00796819249616660561546588347467L\
91};
static const long double gauss_legendre_30_points[30]
Definition: gauss_legendre_30.hpp:25
static const long double gauss_legendre_30_weights[30]
Definition: gauss_legendre_30.hpp:59