source: sasmodels/sasmodels/models/lib/gauss76.c @ 994d77f

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 994d77f was 994d77f, checked in by Paul Kienzle <pkienzle@…>, 9 years ago

Convert double to float rather than using real

  • Property mode set to 100644
File size: 3.3 KB
Line 
1/*
2 *  GaussWeights.c
3 *  SANSAnalysis
4 *
5 *  Created by Andrew Jackson on 4/23/07.
6 *  Copyright 2007 __MyCompanyName__. All rights reserved.
7 *
8 */
9
10// Gaussians
11constant double Gauss76Wt[76]={
12        .00126779163408536,             //0
13        .00294910295364247,
14        .00462793522803742,
15        .00629918049732845,
16        .00795984747723973,
17        .00960710541471375,
18        .0112381685696677,
19        .0128502838475101,
20        .0144407317482767,
21        .0160068299122486,
22        .0175459372914742,              //10
23        .0190554584671906,
24        .020532847967908,
25        .0219756145344162,
26        .0233813253070112,
27        .0247476099206597,
28        .026072164497986,
29        .0273527555318275,
30        .028587223650054,
31        .029773487255905,
32        .0309095460374916,              //20
33        .0319934843404216,
34        .0330234743977917,
35        .0339977794120564,
36        .0349147564835508,
37        .0357728593807139,
38        .0365706411473296,
39        .0373067565423816,
40        .0379799643084053,
41        .0385891292645067,
42        .0391332242205184,              //30
43        .0396113317090621,
44        .0400226455325968,
45        .040366472122844,
46        .0406422317102947,
47        .0408494593018285,
48        .040987805464794,
49        .0410570369162294,
50        .0410570369162294,
51        .040987805464794,
52        .0408494593018285,              //40
53        .0406422317102947,
54        .040366472122844,
55        .0400226455325968,
56        .0396113317090621,
57        .0391332242205184,
58        .0385891292645067,
59        .0379799643084053,
60        .0373067565423816,
61        .0365706411473296,
62        .0357728593807139,              //50
63        .0349147564835508,
64        .0339977794120564,
65        .0330234743977917,
66        .0319934843404216,
67        .0309095460374916,
68        .029773487255905,
69        .028587223650054,
70        .0273527555318275,
71        .026072164497986,
72        .0247476099206597,              //60
73        .0233813253070112,
74        .0219756145344162,
75        .020532847967908,
76        .0190554584671906,
77        .0175459372914742,
78        .0160068299122486,
79        .0144407317482767,
80        .0128502838475101,
81        .0112381685696677,
82        .00960710541471375,             //70
83        .00795984747723973,
84        .00629918049732845,
85        .00462793522803742,
86        .00294910295364247,
87        .00126779163408536              //75 (indexed from 0)
88};
89
90constant double Gauss76Z[76]={
91        -.999505948362153,              //0
92        -.997397786355355,
93        -.993608772723527,
94        -.988144453359837,
95        -.981013938975656,
96        -.972229228520377,
97        -.961805126758768,
98        -.949759207710896,
99        -.936111781934811,
100        -.92088586125215,
101        -.904107119545567,              //10
102        -.885803849292083,
103        -.866006913771982,
104        -.844749694983342,
105        -.822068037328975,
106        -.7980001871612,
107        -.77258672828181,
108        -.74587051350361,
109        -.717896592387704,
110        -.688712135277641,
111        -.658366353758143,              //20
112        -.626910417672267,
113        -.594397368836793,
114        -.560882031601237,
115        -.526420920401243,
116        -.491072144462194,
117        -.454895309813726,
118        -.417951418780327,
119        -.380302767117504,
120        -.342012838966962,
121        -.303146199807908,              //30
122        -.263768387584994,
123        -.223945802196474,
124        -.183745593528914,
125        -.143235548227268,
126        -.102483975391227,
127        -.0615595913906112,
128        -.0205314039939986,
129        .0205314039939986,
130        .0615595913906112,
131        .102483975391227,                       //40
132        .143235548227268,
133        .183745593528914,
134        .223945802196474,
135        .263768387584994,
136        .303146199807908,
137        .342012838966962,
138        .380302767117504,
139        .417951418780327,
140        .454895309813726,
141        .491072144462194,               //50
142        .526420920401243,
143        .560882031601237,
144        .594397368836793,
145        .626910417672267,
146        .658366353758143,
147        .688712135277641,
148        .717896592387704,
149        .74587051350361,
150        .77258672828181,
151        .7980001871612, //60
152        .822068037328975,
153        .844749694983342,
154        .866006913771982,
155        .885803849292083,
156        .904107119545567,
157        .92088586125215,
158        .936111781934811,
159        .949759207710896,
160        .961805126758768,
161        .972229228520377,               //70
162        .981013938975656,
163        .988144453359837,
164        .993608772723527,
165        .997397786355355,
166        .999505948362153                //75
167};
Note: See TracBrowser for help on using the repository browser.