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
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
3
3
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/base/dists/triangular/logcdf) of the main repository where we’ll review and provide feedback.
4
4
5
-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5
+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
6
6
7
7
We look forward to receiving your contribution! :smiley:
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,37 @@
4
4
5
5
<sectionclass="release"id="unreleased">
6
6
7
-
## Unreleased (2025-02-19)
7
+
## Unreleased (2025-03-07)
8
+
9
+
<sectionclass="features">
10
+
11
+
### Features
12
+
13
+
-[`be656a1`](https://github.com/stdlib-js/stdlib/commit/be656a143216896aa6b1ce0df89646e6a3565ec9) - add C implementation for `stats/base/dists/triangular/logcdf`[(#4326)](https://github.com/stdlib-js/stdlib/pull/4326)
-[`be656a1`](https://github.com/stdlib-js/stdlib/commit/be656a143216896aa6b1ce0df89646e6a3565ec9) - **feat:** add C implementation for `stats/base/dists/triangular/logcdf`[(#4326)](https://github.com/stdlib-js/stdlib/pull/4326)_(by Prashant Kumar Yadav, Philipp Burckhardt, stdlib-bot)_
15
38
-[`c7bfa92`](https://github.com/stdlib-js/stdlib/commit/c7bfa923af0c5346766c90300e0d0a3c2188d438) - **docs:** fix missing ending `section` in various READMEs [(#5292)](https://github.com/stdlib-js/stdlib/pull/5292)_(by Saurabh Singh)_
16
39
17
40
</details>
@@ -24,8 +47,10 @@
24
47
25
48
### Contributors
26
49
27
-
A total of 1 person contributed to this release. Thank you to this contributor:
50
+
A total of 3 people contributed to this release. Thank you to the following contributors:
Copy file name to clipboardExpand all lines: README.md
+100-1Lines changed: 100 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ y = mylogcdf( 8.0 );
154
154
155
155
## Notes
156
156
157
-
- In virtually all cases, using the `logpdf` or `logcdf` functions is preferable to manually computing the logarithm of the `pdf` or `cdf`, respectively, since the latter is prone to overflow and underflow.
157
+
- In virtually all cases, using the `logcdf` or `logcdf` functions is preferable to manually computing the logarithm of the `pdf` or `cdf`, respectively, since the latter is prone to overflow and underflow.
158
158
159
159
</section>
160
160
@@ -191,6 +191,105 @@ for ( i = 0; i < 25; i++ ) {
191
191
192
192
<!-- /.examples -->
193
193
194
+
<!-- C interface documentation. -->
195
+
196
+
* * *
197
+
198
+
<sectionclass="c">
199
+
200
+
## C APIs
201
+
202
+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
#### stdlib_base_dists_geometric_logcdf( x, a, b, c )
221
+
222
+
Evaluates the natural logarithm of the [cumulative distribution function][cdf] (CDF) for a [triangular][triangular-distribution] distribution with parameters `a` (lower limit), `b` (upper limit) and `c` (mode).
223
+
224
+
```c
225
+
double y = stdlib_base_dists_geometric_logcdf( 0.5, -1.0, 1.0, 0.0 );
226
+
// returns ~-0.134
227
+
```
228
+
229
+
The function accepts the following arguments:
230
+
231
+
-**x**: `[in] double` input value.
232
+
-**a**: `[in] double` lower limit.
233
+
-**b**: `[in] double` upper limit.
234
+
-**c**: `[in] double` mode.
235
+
236
+
```c
237
+
doublestdlib_base_dists_geometric_logcdf( const double x, const double a, const double b, const double c );
238
+
```
239
+
240
+
</section>
241
+
242
+
<!-- /.usage -->
243
+
244
+
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
0 commit comments