WPILibC++ 2024.3.2
gauss_legendre_30.hpp
Go to the documentation of this file.
1/*################################################################################
2 ##
3 ## Copyright (C) 2016-2023 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
25namespace gcem
26{
27
28static const long double gauss_legendre_30_points[30] = \
29{
30 -0.05147184255531769583302521316672L,
31 0.05147184255531769583302521316672L,
32 -0.15386991360858354696379467274326L,
33 0.15386991360858354696379467274326L,
34 -0.25463692616788984643980512981781L,
35 0.25463692616788984643980512981781L,
36 -0.35270472553087811347103720708937L,
37 0.35270472553087811347103720708937L,
38 -0.44703376953808917678060990032285L,
39 0.44703376953808917678060990032285L,
40 -0.53662414814201989926416979331107L,
41 0.53662414814201989926416979331107L,
42 -0.62052618298924286114047755643119L,
43 0.62052618298924286114047755643119L,
44 -0.69785049479331579693229238802664L,
45 0.69785049479331579693229238802664L,
46 -0.76777743210482619491797734097450L,
47 0.76777743210482619491797734097450L,
48 -0.82956576238276839744289811973250L,
49 0.82956576238276839744289811973250L,
50 -0.88256053579205268154311646253023L,
51 0.88256053579205268154311646253023L,
52 -0.92620004742927432587932427708047L,
53 0.92620004742927432587932427708047L,
54 -0.96002186496830751221687102558180L,
55 0.96002186496830751221687102558180L,
56 -0.98366812327974720997003258160566L,
57 0.98366812327974720997003258160566L,
58 -0.99689348407464954027163005091870L,
59 0.99689348407464954027163005091870L\
60};
61
62static const long double gauss_legendre_30_weights[30] = \
63{
64 0.10285265289355884034128563670542L,
65 0.10285265289355884034128563670542L,
66 0.10176238974840550459642895216855L,
67 0.10176238974840550459642895216855L,
68 0.09959342058679526706278028210357L,
69 0.09959342058679526706278028210357L,
70 0.09636873717464425963946862635181L,
71 0.09636873717464425963946862635181L,
72 0.09212252223778612871763270708762L,
73 0.09212252223778612871763270708762L,
74 0.08689978720108297980238753071513L,
75 0.08689978720108297980238753071513L,
76 0.08075589522942021535469493846053L,
77 0.08075589522942021535469493846053L,
78 0.07375597473770520626824385002219L,
79 0.07375597473770520626824385002219L,
80 0.06597422988218049512812851511596L,
81 0.06597422988218049512812851511596L,
82 0.05749315621761906648172168940206L,
83 0.05749315621761906648172168940206L,
84 0.04840267283059405290293814042281L,
85 0.04840267283059405290293814042281L,
86 0.03879919256962704959680193644635L,
87 0.03879919256962704959680193644635L,
88 0.02878470788332336934971917961129L,
89 0.02878470788332336934971917961129L,
90 0.01846646831109095914230213191205L,
91 0.01846646831109095914230213191205L,
92 0.00796819249616660561546588347467L,
93 0.00796819249616660561546588347467L\
94};
95
96}
Definition: is_even.hpp:29
static const long double gauss_legendre_30_points[30]
Definition: gauss_legendre_30.hpp:28
static const long double gauss_legendre_30_weights[30]
Definition: gauss_legendre_30.hpp:62