24 static const double sqrt_2_pi = 0.7978845608028653558798921199;
25 static const double _1_sqrt_2pi = 0.3989422804014326779399460599;
26 static const double pi_2 = 1.5707963267948966192313216916;
30 0.76435138664186000189,
31 -0.43135547547660179313,
32 0.43288199979726653054,
33 -0.26973310338387111029,
34 0.08416045320876935378,
35 -0.01546524484461381958,
36 0.00187855423439822018,
37 -0.00016264977618887547,
38 0.00001057397656383260,
39 -0.00000053609339889243,
40 0.00000002181658454933,
41 -0.00000000072901621186,
42 0.00000000002037332546,
43 -0.00000000000048344033,
44 0.00000000000000986533,
45 -0.00000000000000017502,
46 0.00000000000000000272,
47 -0.00000000000000000004
52 0.63041404314570539241,
53 -0.42344511405705333544,
54 0.37617172643343656625,
55 -0.16249489154509567415,
56 0.03822255778633008694,
57 -0.00564563477132190899,
58 0.00057454951976897367,
59 -0.00004287071532102004,
60 0.00000245120749923299,
61 -0.00000011098841840868,
62 0.00000000408249731696,
63 -0.00000000012449830219,
64 0.00000000000320048425,
65 -0.00000000000007032416,
66 0.00000000000000133638,
67 -0.00000000000000002219,
68 0.00000000000000000032
74 double xx = 2.0*x_8*x_8 - 1.0;
81 for (n = 2; n < 18; n++)
93 double xx = 2.0*x_8*x_8 - 1.0;
97 double ot2 = 2.0*x_8*t1 - ot1;
101 for (n = 2; n < 17; n++)
105 ot2 = 2.0*x_8*t2 - ot1;
114 0.97462779093296822410,
115 -0.02424701873969321371,
116 0.00103400906842977317,
117 -0.00008052450246908016,
118 0.00000905962481966582,
119 -0.00000131016996757743,
120 0.00000022770820391497,
121 -0.00000004558623552026,
122 0.00000001021567537083,
123 -0.00000000251114508133,
124 0.00000000066704761275,
125 -0.00000000018931512852,
126 0.00000000005689898935,
127 -0.00000000001798219359,
128 0.00000000000594162963,
129 -0.00000000000204285065,
130 0.00000000000072797580,
131 -0.00000000000026797428,
132 0.00000000000010160694,
133 -0.00000000000003958559,
134 0.00000000000001581262,
135 -0.00000000000000646411,
136 0.00000000000000269981,
137 -0.00000000000000115038,
138 0.00000000000000049942,
139 -0.00000000000000022064,
140 0.00000000000000009910,
141 -0.00000000000000004520,
142 0.00000000000000002092,
143 -0.00000000000000000982,
144 0.00000000000000000467,
145 -0.00000000000000000225,
146 0.00000000000000000110,
147 -0.00000000000000000054,
148 0.00000000000000000027,
149 -0.00000000000000000014,
150 0.00000000000000000007,
151 -0.00000000000000000004,
152 0.00000000000000000002,
153 -0.00000000000000000001,
154 0.00000000000000000001
159 0.99461545179407928910,
160 -0.00524276766084297210,
161 0.00013325864229883909,
162 -0.00000770856452642713,
163 0.00000070848077032045,
164 -0.00000008812517411602,
165 0.00000001359784717148,
166 -0.00000000246858295747,
167 0.00000000050925789921,
168 -0.00000000011653400634,
169 0.00000000002906578309,
170 -0.00000000000779847361,
171 0.00000000000222802542,
172 -0.00000000000067239338,
173 0.00000000000021296411,
174 -0.00000000000007041482,
175 0.00000000000002419805,
176 -0.00000000000000861080,
177 0.00000000000000316287,
178 -0.00000000000000119596,
179 0.00000000000000046444,
180 -0.00000000000000018485,
181 0.00000000000000007527,
182 -0.00000000000000003131,
183 0.00000000000000001328,
184 -0.00000000000000000574,
185 0.00000000000000000252,
186 -0.00000000000000000113,
187 0.00000000000000000051,
188 -0.00000000000000000024,
189 0.00000000000000000011,
190 -0.00000000000000000005,
191 0.00000000000000000002,
192 -0.00000000000000000001,
193 0.00000000000000000001
198 double xx = 128.0 / (x*x) - 1.0;
205 for (n = 2; n < 35; n++)
212 for (n = 35; n < 41; n++)
218 return 0.5 -
_1_sqrt_2pi * (0.5*sumP*cos(x) / x - sumQ * sin(x)) / sqrt(x);
223 double xx = 128.0 / (x*x) - 1.0;
230 for (n = 2; n < 35; n++)
237 for (n = 35; n < 41; n++)
243 return 0.5 -
_1_sqrt_2pi * (0.5*sumP*sin(x) / x + sumQ * cos(x)) / sqrt(x);
252 double xx = x * x*
pi_2;
258 return (x < 0.0) ? -ret_val : ret_val;
263 double xx = x * x*
pi_2;
269 return (x < 0.0) ? -ret_val : ret_val;
static double fresnel_sin_8_inf(double x)
DataCollection - Class to facilitate loading/accessing structured data.
double fresnel_c(double x)
static double f_data_a[18]
static double f_data_f[35]
static double f_data_e[41]
static double fresnel_sin_0_8(double x)
double fresnel_s(double x)
double fresnel_c2(double x)
static double fresnel_cos_0_8(double x)
static const double sqrt_2_pi
static const double _1_sqrt_2pi
static double f_data_b[17]
double fresnel_s2(double x)
static double fresnel_cos_8_inf(double x)