Skip to content

Commit b87342b

Browse files
chore: minor clean up
1 parent c869f76 commit b87342b

File tree

8 files changed

+22
-45
lines changed

8 files changed

+22
-45
lines changed

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -172,35 +172,17 @@ for ( i = 0; i < 10; i++ ) {
172172

173173
#### stdlib_base_dists_beta_kurtosis( alpha, beta )
174174

175-
Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta` at a value `x`.
175+
Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta`.
176176

177177
```c
178178
double y = stdlib_base_dists_beta_kurtosis( 1.0, 1.0 );
179179
// returns ~-1.2
180-
181-
y = stdlib_base_dists_beta_kurtosis( 4.0, 12.0 );
182-
// returns ~0.082
183-
184-
y = stdlib_base_dists_beta_kurtosis( 8.0, 2.0 );
185-
// returns ~0.49
186-
187-
y = stdlib_base_dists_beta_kurtosis( 1.0, -0.1 );
188-
// returns NaN
189-
190-
y = stdlib_base_dists_beta_kurtosis( -0.1, 1.0 );
191-
// returns NaN
192-
193-
y = stdlib_base_dists_beta_kurtosis( 2.0, NaN );
194-
// returns NaN
195-
196-
y = stdlib_base_dists_beta_kurtosis( NaN, 2.0 );
197-
// returns NaN
198180
```
199181

200182
The function accepts the following arguments:
201183

202184
- **alpha**: `[in] double` first shape parameter
203-
- **beta**: `[in] double` second shape parameter
185+
- **beta**: `[in] double` second shape parameter
204186

205187
```c
206188
double stdlib_base_dists_beta_kurtosis( const double alpha, const double beta );

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/benchmark/c/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#/
22
# @license Apache-2.0
33
#
4-
# Copyright (c) 2024 The Stdlib Authors.
4+
# Copyright (c) 2025 The Stdlib Authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -143,4 +143,4 @@ run: $(c_targets)
143143
clean:
144144
$(QUIET) -rm -f *.o *.out
145145

146-
.PHONY: clean
146+
.PHONY: clean

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -133,4 +133,4 @@ int main( void ) {
133133
printf( "ok %d benchmark finished\n", i+1 );
134134
}
135135
print_summary( REPEATS, REPEATS );
136-
}
136+
}

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/include/stdlib/base/dists/beta/kurtosis.h renamed to lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/include/stdlib/stats/base/dists/beta/kurtosis.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -27,12 +27,12 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta` at a value `x`.
30+
* Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta`.
3131
*/
3232
double stdlib_base_dists_beta_kurtosis( const double alpha, const double beta );
3333

3434
#ifdef __cplusplus
3535
}
3636
#endif
3737

38-
#endif // !STDLIB_STATS_BASE_DISTS_BETA_KURTOSIS_H
38+
#endif // !STDLIB_STATS_BASE_DISTS_BETA_KURTOSIS_H

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/manifest.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"libraries": [],
3939
"libpath": [],
4040
"dependencies": [
41-
"@stdlib/math/base/napi/binary",
42-
"@stdlib/constants/float64/eps"
41+
"@stdlib/math/base/napi/binary"
4342
]
4443
},
4544
{
@@ -53,9 +52,7 @@
5352
],
5453
"libraries": [],
5554
"libpath": [],
56-
"dependencies": [
57-
"@stdlib/constants/float64/eps"
58-
]
55+
"dependencies": []
5956
},
6057
{
6158
"task": "examples",
@@ -68,9 +65,7 @@
6865
],
6966
"libraries": [],
7067
"libpath": [],
71-
"dependencies": [
72-
"@stdlib/constants/float64/eps"
73-
]
68+
"dependencies": []
7469
}
7570
]
76-
}
71+
}

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#/
22
# @license Apache-2.0
33
#
4-
# Copyright (c) 2024 The Stdlib Authors.
4+
# Copyright (c) 2025 The Stdlib Authors.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -67,4 +67,4 @@ clean-addon:
6767
#/
6868
clean: clean-addon
6969

70-
.PHONY: clean
70+
.PHONY: clean

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/src/addon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -20,4 +20,4 @@
2020
#include "stdlib/math/base/napi/binary.h"
2121

2222
// cppcheck-suppress shadowFunction
23-
STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_dists_beta_kurtosis )
23+
STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_dists_beta_kurtosis )

lib/node_modules/@stdlib/stats/base/dists/beta/kurtosis/src/main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -19,11 +19,11 @@
1919
#include "stdlib/stats/base/dists/beta/kurtosis.h"
2020

2121
/**
22-
* Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta` at a value `x`.
22+
* Evaluates the excess kurtosis for a beta distribution with first shape parameter `alpha` and second shape parameter `beta`.
2323
*
2424
* @param alpha first shape parameter
25-
* @param beta second shape parameter
26-
* @returns excess kurtosis
25+
* @param beta second shape parameter
26+
* @returns excess kurtosis
2727
*
2828
* @example
2929
* double y = stdlib_base_dists_beta_kurtosis( 1.0, 1.0 );
@@ -70,4 +70,4 @@ double stdlib_base_dists_beta_kurtosis( const double alpha, const double beta )
7070
out *= 6.0;
7171
out /= axb * ( apb+2.0 ) * ( apb+3.0 );
7272
return out;
73-
}
73+
}

0 commit comments

Comments
 (0)