File tree Expand file tree Collapse file tree 3 files changed +91
-0
lines changed
lib/node_modules/@stdlib/stats/base/ztest/one-sample/results/float32
include/stdlib/stats/base/ztest/one-sample/results Expand file tree Collapse file tree 3 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license Apache-2.0
3
+ *
4
+ * Copyright (c) 2025 The Stdlib Authors.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ #ifndef STDLIB_STATS_BASE_ZTEST_ONE_SAMPLE_RESULTS_FLOAT32_H
20
+ #define STDLIB_STATS_BASE_ZTEST_ONE_SAMPLE_RESULTS_FLOAT32_H
21
+
22
+ #include <stdbool.h>
23
+ #include <stdint.h>
24
+
25
+ /**
26
+ * Struct for storing test results.
27
+ */
28
+ struct stdlib_stats_ztest_one_sample_float32_results {
29
+ // Boolean indicating whether the null hypothesis was rejected:
30
+ bool rejected ;
31
+
32
+ // Alternative hypothesis:
33
+ int8_t alternative ;
34
+
35
+ // Significance level:
36
+ float alpha ;
37
+
38
+ // p-value:
39
+ float pValue ;
40
+
41
+ // Test statistic:
42
+ float statistic ;
43
+
44
+ // Confidence interval:
45
+ float ci [ 2 ];
46
+
47
+ // Mean value under the null hypothesis:
48
+ float nullValue ;
49
+
50
+ // Standard error of the mean:
51
+ float sd ;
52
+ };
53
+
54
+ #endif // !STDLIB_STATS_BASE_ZTEST_ONE_SAMPLE_RESULTS_FLOAT32_H
Original file line number Diff line number Diff line change
1
+ {
2
+ "options" : {},
3
+ "fields" : [
4
+ {
5
+ "field" : " src" ,
6
+ "resolve" : true ,
7
+ "relative" : true
8
+ },
9
+ {
10
+ "field" : " include" ,
11
+ "resolve" : true ,
12
+ "relative" : true
13
+ },
14
+ {
15
+ "field" : " libraries" ,
16
+ "resolve" : false ,
17
+ "relative" : false
18
+ },
19
+ {
20
+ "field" : " libpath" ,
21
+ "resolve" : true ,
22
+ "relative" : false
23
+ }
24
+ ],
25
+ "confs" : [
26
+ {
27
+ "src" : [],
28
+ "include" : [
29
+ " ./include"
30
+ ],
31
+ "libraries" : [],
32
+ "libpath" : [],
33
+ "dependencies" : []
34
+ }
35
+ ]
36
+ }
Original file line number Diff line number Diff line change 18
18
"benchmark" : " ./benchmark" ,
19
19
"doc" : " ./docs" ,
20
20
"example" : " ./examples" ,
21
+ "include" : " ./include" ,
21
22
"lib" : " ./lib" ,
22
23
"test" : " ./test"
23
24
},
You can’t perform that action at this time.
0 commit comments