Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
python-RAT/cpp/RAT/RATMain_types.h at pybind_demo · RascalSoftware/python-RAT · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
RascalSoftware
/
python-RAT
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
3
Code
Issues
3
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
pybind_demo
Breadcrumbs
python-RAT
/
cpp
/
RAT
/
RATMain_types.h
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
353 lines (317 loc) · 8.34 KB
pybind_demo
Breadcrumbs
python-RAT
/
cpp
/
RAT
/
RATMain_types.h
Copy path
Top
File metadata and controls
Code
Blame
353 lines (317 loc) · 8.34 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
//
//
Non-Degree Granting Education License -- for use at non-degree
//
granting, nonprofit, education, and research organizations only. Not
//
for commercial or industrial use.
//
//
RATMain_types.h
//
//
Code generation for function 'RATMain'
//
#
ifndef
RATMAIN_TYPES_H
#
define
RATMAIN_TYPES_H
//
Include files
#
include
"
rtwtypes.h
"
#
include
"
coder_array.h
"
#
include
"
coder_bounded_array.h
"
#
define
MAX_THREADS
omp_get_max_threads
()
//
Type Definitions
namespace RAT
{
struct
struct14_T
{
real_T Y;
real_T N;
};
struct
cell_wrap_2
{
real_T f1[
2
];
};
struct
cell_wrap_8
{
::coder::array<real_T,
2U
> f1;
};
struct
cell_wrap_9
{
::coder::array<cell_wrap_8,
2U
> f1;
};
struct
struct13_T
{
real_T d;
real_T N;
real_T T;
boolean_T parallel;
real_T
CPU
;
real_T lambda;
real_T pUnitGamma;
real_T nCR;
real_T delta;
real_T steps;
real_T zeta;
char_T outlier[
3
];
boolean_T adaptPCR;
real_T thinning;
real_T epsilon;
boolean_T
ABC
;
boolean_T
IO
;
boolean_T modout;
boolean_T restart;
boolean_T save;
::coder::array<real_T,
2U
> R;
};
struct
struct12_T
{
::coder::bounded_array<real_T,
2000U
,
2U
> outlier;
real_T RunTime;
struct13_T DREAMPar;
struct14_T Meas_info;
real_T iteration;
real_T iloc;
real_T fx;
::coder::bounded_array<real_T,
2000U
,
2U
>
AR
;
::coder::array<real_T,
2U
> R_stat;
::coder::array<real_T,
2U
>
CR
;
};
struct
cell_wrap_1
{
::coder::array<char_T,
2U
> f1;
};
struct
struct3_T
{
::coder::array<real_T,
2U
> fitParam;
::coder::array<real_T,
2U
> fitBackgroundParam;
::coder::array<real_T,
2U
> fitQzshift;
::coder::array<real_T,
2U
> fitScalefactor;
::coder::array<real_T,
2U
> fitBulkIn;
::coder::array<real_T,
2U
> fitBulkOut;
::coder::array<real_T,
2U
> fitResolutionParam;
::coder::array<real_T,
2U
> fitDomainRatio;
};
struct
struct2_T
{
::coder::bounded_array<char_T,
10000U
,
2U
> procedure;
::coder::bounded_array<char_T,
10000U
,
2U
> parallel;
real_T resamPars[
2
];
boolean_T calcSldDuringFit;
::coder::bounded_array<char_T,
10000U
,
2U
> display;
real_T tolX;
real_T tolFun;
real_T maxFunEvals;
real_T maxIter;
real_T updateFreq;
real_T updatePlotFreq;
real_T populationSize;
real_T
fWeight
;
real_T crossoverProbability;
real_T strategy;
real_T targetValue;
real_T numGenerations;
real_T Nlive;
real_T Nmcmc;
real_T propScale;
real_T nsTolerance;
real_T nSamples;
real_T nChains;
real_T jumpProbability;
real_T pUnitGamma;
::coder::bounded_array<char_T,
10000U
,
2U
> boundHandling;
boolean_T adaptPCR;
struct3_T checks;
};
struct
struct6_T
{
::coder::array<real_T,
1U
> allChis;
real_T sumChi;
};
struct
cell_wrap_18
{
::coder::array<real_T,
2U
> f1;
};
struct
cell_wrap_22
{
::coder::array<real_T,
2U
> f1;
};
struct
cell_wrap_48
{
::coder::array<real_T,
2U
> f1;
};
struct
struct10_T
{
::coder::array<real_T,
2U
> par95;
::coder::array<real_T,
2U
> par65;
::coder::array<real_T,
2U
> mean;
};
struct
struct1_T
{
::coder::array<real_T,
2U
> param;
::coder::array<real_T,
2U
> backgroundParam;
::coder::array<real_T,
2U
> scalefactor;
::coder::array<real_T,
2U
> qzshift;
::coder::array<real_T,
2U
> bulkIn;
::coder::array<real_T,
2U
> bulkOut;
::coder::array<real_T,
2U
> resolutionParam;
::coder::array<real_T,
2U
> domainRatio;
};
struct
cell_0
{
::coder::array<char_T,
2U
> f1;
::coder::array<char_T,
2U
> f2;
real_T f3;
real_T f4;
};
struct
struct4_T
{
::coder::array<cell_0,
1U
> param;
::coder::array<cell_0,
1U
> backgroundParam;
::coder::array<cell_0,
1U
> resolutionParam;
::coder::array<cell_0,
1U
> bulkIn;
::coder::array<cell_0,
1U
> bulkOut;
::coder::array<cell_0,
1U
> qzshift;
::coder::array<cell_0,
1U
> scalefactor;
::coder::array<cell_0,
1U
> domainRatio;
::coder::array<cell_wrap_1,
1U
> priorNames;
::coder::array<real_T,
2U
> priorValues;
};
struct
struct8_T
{
::coder::array<cell_wrap_8,
1U
> ref;
::coder::array<cell_wrap_8,
2U
> sld;
real_T chi;
::coder::array<cell_wrap_8,
1U
> data;
};
struct
struct9_T
{
::coder::array<cell_wrap_8,
1U
> refPredInts;
::coder::array<cell_wrap_8,
2U
> sldPredInts;
::coder::array<cell_wrap_8,
1U
> refXdata;
::coder::array<cell_wrap_8,
2U
> sldXdata;
::coder::bounded_array<real_T,
1000U
,
1U
> sampleChi;
};
struct
cell_wrap_3
{
::coder::array<real_T,
2U
> f1;
};
struct
cell_wrap_4
{
::coder::array<real_T,
2U
> f1;
};
struct
cell_wrap_5
{
::coder::bounded_array<real_T,
10U
,
2U
> f1;
};
struct
cell_wrap_6
{
::coder::bounded_array<char_T,
10000U
,
2U
> f1;
};
struct
cell_7
{
::coder::array<cell_wrap_2,
2U
> f1;
::coder::array<cell_wrap_3,
2U
> f2;
::coder::array<cell_wrap_2,
2U
> f3;
::coder::array<cell_wrap_2,
2U
> f4;
::coder::array<cell_wrap_4,
2U
> f5;
::coder::array<cell_wrap_5,
1U
> f6;
::coder::array<cell_wrap_6,
2U
> f7;
::coder::array<cell_wrap_6,
2U
>
f8
;
::coder::array<cell_wrap_6,
2U
> f9;
::coder::array<cell_wrap_6,
2U
> f10;
::coder::array<cell_wrap_6,
2U
> f11;
::coder::array<cell_wrap_6,
2U
> f12;
::coder::array<cell_wrap_6,
2U
> f13;
::coder::array<cell_wrap_6,
2U
> f14;
::coder::array<cell_wrap_6,
2U
> f15;
::coder::array<cell_wrap_6,
2U
>
f16
;
::coder::array<cell_wrap_3,
2U
> f17;
::coder::array<cell_wrap_2,
2U
> f18;
::coder::array<cell_wrap_4,
2U
> f19;
::coder::array<cell_wrap_6,
2U
> f20;
};
struct
struct0_T
{
::coder::array<real_T,
2U
> contrastBackgrounds;
::coder::array<real_T,
2U
> contrastBackgroundsType;
::coder::bounded_array<char_T,
10000U
,
2U
>
TF
;
::coder::array<real_T,
2U
> resample;
::coder::array<real_T,
2U
> dataPresent;
::coder::array<real_T,
2U
> oilChiDataPresent;
real_T numberOfContrasts;
::coder::bounded_array<char_T,
10000U
,
2U
> geometry;
boolean_T useImaginary;
::coder::array<real_T,
2U
> contrastQzshifts;
::coder::array<real_T,
2U
> contrastScalefactors;
::coder::array<real_T,
2U
> contrastBulkIns;
::coder::array<real_T,
2U
> contrastBulkOuts;
::coder::array<real_T,
2U
> contrastResolutions;
::coder::array<real_T,
2U
> backgroundParams;
::coder::array<real_T,
2U
> qzshifts;
::coder::array<real_T,
2U
> scalefactors;
::coder::array<real_T,
2U
> bulkIn;
::coder::array<real_T,
2U
> bulkOut;
::coder::array<real_T,
2U
> resolutionParams;
::coder::array<real_T,
2U
> params;
real_T numberOfLayers;
::coder::bounded_array<char_T,
10000U
,
2U
> modelType;
::coder::array<real_T,
2U
> contrastCustomFiles;
::coder::array<real_T,
2U
> contrastDomainRatios;
::coder::array<real_T,
2U
> domainRatio;
real_T numberOfDomainContrasts;
::coder::array<real_T,
2U
> fitParams;
::coder::array<real_T,
2U
> otherParams;
::coder::array<real_T,
2U
> fitLimits;
::coder::array<real_T,
2U
> otherLimits;
};
struct
struct5_T
{
::coder::array<real_T,
1U
> ssubs;
::coder::array<real_T,
1U
> backgroundParams;
::coder::array<real_T,
1U
> qzshifts;
::coder::array<real_T,
1U
> scalefactors;
::coder::array<real_T,
1U
> bulkIn;
::coder::array<real_T,
1U
> bulkOut;
::coder::array<real_T,
1U
> resolutionParams;
struct6_T calculations;
::coder::array<real_T,
1U
> allSubRough;
::coder::array<real_T,
2U
> resample;
};
struct
struct15_T
{
real_T LogZ;
::coder::array<real_T,
2U
> nestSamples;
::coder::array<real_T,
2U
> postSamples;
};
struct
struct11_T
{
::coder::array<real_T,
3U
> allChains;
struct12_T dreamOutput;
struct15_T nestOutput;
};
struct
struct7_T
{
struct8_T bestFitsMean;
struct9_T predlims;
struct10_T parConfInts;
::coder::array<real_T,
2U
> bestPars;
struct11_T bayesRes;
::coder::array<real_T,
2U
> chain;
};
struct
SLDFunction
{
int32_T belowVals_data[
10000
];
};
struct
parallelContrasts
{
real_T thisContrastLayers2_data[
6000
];
real_T thisContrastLayers1_data[
6000
];
};
struct
b_parallelContrasts
{
real_T thisContrastLayers_data[
6000
];
};
struct
RATMainTLS
{
SLDFunction f0;
parallelContrasts f1;
b_parallelContrasts f2;
};
}
#
endif
//
End of code generation (RATMain_types.h)
You can’t perform that action at this time.