Skip to content

Commit a44e7f0

Browse files
committed
Auto-generated commit
1 parent 8c28496 commit a44e7f0

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-04-06)
7+
## Unreleased (2025-04-12)
88

99
<section class="features">
1010

@@ -34,6 +34,7 @@ A total of 2 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`a9c5bd5`](https://github.com/stdlib-js/stdlib/commit/a9c5bd530e3080d8fd55586b8b05c4c3a31c60b7) - **chore:** clean-up _(by Athan Reines)_
3738
- [`09c74b0`](https://github.com/stdlib-js/stdlib/commit/09c74b0526129f32667ef3101c9ccd91acaf924b) - **feat:** add C implementation for `stats/base/dists/laplace/logcdf` [(#4422)](https://github.com/stdlib-js/stdlib/pull/4422) _(by Dhruv Arvind Singh, Philipp Burckhardt, stdlib-bot)_
3839
- [`e5238bb`](https://github.com/stdlib-js/stdlib/commit/e5238bb96b7138d346ea0db8b535aec64c8a856c) - **bench:** refactor random number generation in `stats/base/dists/laplace` [(#5270)](https://github.com/stdlib-js/stdlib/pull/5270) _(by GK Bishnoi)_
3940

@@ -47,8 +48,9 @@ A total of 2 issues were closed in this release:
4748

4849
### Contributors
4950

50-
A total of 3 people contributed to this release. Thank you to the following contributors:
51+
A total of 4 people contributed to this release. Thank you to the following contributors:
5152

53+
- Athan Reines
5254
- Dhruv Arvind Singh
5355
- GK Bishnoi
5456
- Philipp Burckhardt

CONTRIBUTORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Joris Labie <joris.labie1@gmail.com>
7777
Justin Dennison <justin1dennison@gmail.com>
7878
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7979
Karan Anand <anandkarancompsci@gmail.com>
80+
Karan Yadav <77043443+karanBRAVO@users.noreply.github.com>
8081
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8182
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
8283
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
@@ -86,6 +87,7 @@ Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8687
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
8788
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
8889
MANI <77221000+Eternity0207@users.noreply.github.com>
90+
Mahfuza Humayra Mohona <mhmohona@gmail.com>
8991
Manik Sharma <maniksharma.rke@gmail.com>
9092
Manvith M <148960168+manvith2003@users.noreply.github.com>
9193
Marcus Fantham <mfantham@users.noreply.github.com>
@@ -118,6 +120,7 @@ Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
118120
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
119121
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
120122
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
123+
Pravesh Kunwar <praveshkunwar04@gmail.com>
121124
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
122125
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
123126
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ for ( i = 0; i < 100; i++ ) {
206206

207207
#### stdlib_base_dists_laplace_logcdf( x, mu, b )
208208

209-
Evaluates the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
209+
Evaluates the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
210210

211211
```c
212212
double out = stdlib_base_dists_laplace_logcdf( 2.0, 0.0, 1.0 );

benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var opts = {
4040

4141
// MAIN //
4242

43-
bench( pkg, opts, function benchmark( b ) {
43+
bench( pkg+'::native', opts, function benchmark( b ) {
4444
var scale;
4545
var len;
4646
var mu;

include/stdlib/stats/base/dists/laplace/logcdf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
20-
#define STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
19+
#ifndef STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H
20+
#define STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H
2121

2222
/*
2323
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior of a C compiler.
@@ -27,12 +27,12 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
30+
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
3131
*/
3232
double stdlib_base_dists_laplace_logcdf( const double x, const double mu, const double b );
3333

3434
#ifdef __cplusplus
3535
}
3636
#endif
3737

38-
#endif // !STDLIB_STATS_BASE_DISTS_LOGCDF_MODE_H
38+
#endif // !STDLIB_STATS_BASE_DISTS_LAPLACE_LOGCDF_H

src/addon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@
1919
#include "stdlib/stats/base/dists/laplace/logcdf.h"
2020
#include "stdlib/math/base/napi/ternary.h"
2121

22-
// cppcheck-suppress shadowFunction
2322
STDLIB_MATH_BASE_NAPI_MODULE_DDD_D( stdlib_base_dists_laplace_logcdf )

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "stdlib/constants/float64/ln_half.h"
2424

2525
/**
26-
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at value `x`.
26+
* Returns the logarithm of the cumulative distribution function (CDF) for a Laplace distribution with location parameter `mu` and scale parameter `b` at a value `x`.
2727
*
2828
* @param x input value
2929
* @param mu location parameter

0 commit comments

Comments
 (0)