WPILibC++ 2023.4.3
gauss_legendre_50.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: 50 points
23 */
24
25static const long double gauss_legendre_50_points[50] = \
26{
27 -0.03109833832718887611232898966595L,
28 0.03109833832718887611232898966595L,
29 -0.09317470156008614085445037763960L,
30 0.09317470156008614085445037763960L,
31 -0.15489058999814590207162862094111L,
32 0.15489058999814590207162862094111L,
33 -0.21600723687604175684728453261710L,
34 0.21600723687604175684728453261710L,
35 -0.27628819377953199032764527852113L,
36 0.27628819377953199032764527852113L,
37 -0.33550024541943735683698825729107L,
38 0.33550024541943735683698825729107L,
39 -0.39341431189756512739422925382382L,
40 0.39341431189756512739422925382382L,
41 -0.44980633497403878914713146777838L,
42 0.44980633497403878914713146777838L,
43 -0.50445814490746420165145913184914L,
44 0.50445814490746420165145913184914L,
45 -0.55715830451465005431552290962580L,
46 0.55715830451465005431552290962580L,
47 -0.60770292718495023918038179639183L,
48 0.60770292718495023918038179639183L,
49 -0.65589646568543936078162486400368L,
50 0.65589646568543936078162486400368L,
51 -0.70155246870682225108954625788366L,
52 0.70155246870682225108954625788366L,
53 -0.74449430222606853826053625268219L,
54 0.74449430222606853826053625268219L,
55 -0.78455583290039926390530519634099L,
56 0.78455583290039926390530519634099L,
57 -0.82158207085933594835625411087394L,
58 0.82158207085933594835625411087394L,
59 -0.85542976942994608461136264393476L,
60 0.85542976942994608461136264393476L,
61 -0.88596797952361304863754098246675L,
62 0.88596797952361304863754098246675L,
63 -0.91307855665579189308973564277166L,
64 0.91307855665579189308973564277166L,
65 -0.93665661894487793378087494727250L,
66 0.93665661894487793378087494727250L,
67 -0.95661095524280794299774564415662L,
68 0.95661095524280794299774564415662L,
69 -0.97286438510669207371334410460625L,
70 0.97286438510669207371334410460625L,
71 -0.98535408404800588230900962563249L,
72 0.98535408404800588230900962563249L,
73 -0.99403196943209071258510820042069L,
74 0.99403196943209071258510820042069L,
75 -0.99886640442007105018545944497422L,
76 0.99886640442007105018545944497422L\
77};
78
79static const long double gauss_legendre_50_weights[50] = \
80{
81 0.06217661665534726232103310736061L,
82 0.06217661665534726232103310736061L,
83 0.06193606742068324338408750978083L,
84 0.06193606742068324338408750978083L,
85 0.06145589959031666375640678608392L,
86 0.06145589959031666375640678608392L,
87 0.06073797084177021603175001538481L,
88 0.06073797084177021603175001538481L,
89 0.05978505870426545750957640531259L,
90 0.05978505870426545750957640531259L,
91 0.05860084981322244583512243663085L,
92 0.05860084981322244583512243663085L,
93 0.05718992564772838372302931506599L,
94 0.05718992564772838372302931506599L,
95 0.05555774480621251762356742561227L,
96 0.05555774480621251762356742561227L,
97 0.05371062188899624652345879725566L,
98 0.05371062188899624652345879725566L,
99 0.05165570306958113848990529584010L,
100 0.05165570306958113848990529584010L,
101 0.04940093844946631492124358075143L,
102 0.04940093844946631492124358075143L,
103 0.04695505130394843296563301363499L,
104 0.04695505130394843296563301363499L,
105 0.04432750433880327549202228683039L,
106 0.04432750433880327549202228683039L,
107 0.04152846309014769742241197896407L,
108 0.04152846309014769742241197896407L,
109 0.03856875661258767524477015023639L,
110 0.03856875661258767524477015023639L,
111 0.03545983561514615416073461100098L,
112 0.03545983561514615416073461100098L,
113 0.03221372822357801664816582732300L,
114 0.03221372822357801664816582732300L,
115 0.02884299358053519802990637311323L,
116 0.02884299358053519802990637311323L,
117 0.02536067357001239044019487838544L,
118 0.02536067357001239044019487838544L,
119 0.02178024317012479298159206906269L,
120 0.02178024317012479298159206906269L,
121 0.01811556071348939035125994342235L,
122 0.01811556071348939035125994342235L,
123 0.01438082276148557441937890892732L,
124 0.01438082276148557441937890892732L,
125 0.01059054838365096926356968149924L,
126 0.01059054838365096926356968149924L,
127 0.00675979919574540150277887817799L,
128 0.00675979919574540150277887817799L,
129 0.00290862255315514095840072434286L,
130 0.00290862255315514095840072434286L\
131};
static const long double gauss_legendre_50_points[50]
Definition: gauss_legendre_50.hpp:25
static const long double gauss_legendre_50_weights[50]
Definition: gauss_legendre_50.hpp:79