Commit b5f205d
committed
feat: add C implementation for @stdlib/stats/base/dists/lognormal/cdf
- Add standalone C implementation using stdlib math functions
- Add native.js binding, header, addon.c, Makefile, binding.gyp
- Add test.native.js, benchmark.native.js and benchmark.js with variable sorting
- Fix max-length bounds in all benchmarks
- Apply correct structure to C APIs section in README
Signed-off-by: Kamal Singh Rautela <e22cseu1624@bennett.edu.in>1 parent 2620985 commit b5f205d
File tree
3 files changed
+40
-9
lines changed- lib/node_modules/@stdlib/stats/base/dists/lognormal/cdf
- benchmark
3 files changed
+40
-9
lines changedLines changed: 31 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
139 | 153 | | |
140 | 154 | | |
141 | 155 | | |
| |||
175 | 189 | | |
176 | 190 | | |
177 | 191 | | |
| 192 | + | |
| 193 | + | |
178 | 194 | | |
179 | 195 | | |
180 | 196 | | |
181 | 197 | | |
182 | 198 | | |
183 | 199 | | |
| 200 | + | |
184 | 201 | | |
185 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
186 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
187 | 212 | | |
188 | 213 | | |
189 | 214 | | |
190 | 215 | | |
191 | | - | |
192 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
193 | 221 | | |
194 | | - | |
195 | 222 | | |
196 | 223 | | |
197 | 224 | | |
| |||
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| 70 | + | |
68 | 71 | | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | | - | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | | - | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments