Skip to content

Commit 008357e

Browse files
feat(add c implementation): add stats/base/dists/cauchy/mode
1 parent 05ed3c7 commit 008357e

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

lib/node_modules/@stdlib/stats/base/dists/cauchy/mode/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ double out = stdlib_base_dists_cauchy_mode( 10.0, 5.0 );
166166

167167
The function accepts the following arguments:
168168

169-
- **x0**: `[in] double` location parameter.
169+
- **x0**: `[in] double` location parameter.
170170
- **gamma**: `[in] double` scale parameter.
171171

172172
```c
@@ -203,8 +203,8 @@ static double random_uniform( const double min, const double max ) {
203203
}
204204
205205
int main( void ) {
206-
double x0;
207206
double gamma;
207+
double x0;
208208
double y;
209209
int i;
210210

lib/node_modules/@stdlib/stats/base/dists/cauchy/mode/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ static double random_uniform( const double min, const double max ) {
9494
*/
9595
static double benchmark( void ) {
9696
double elapsed;
97-
double x0[ 100 ];
9897
double gamma[ 100 ];
98+
double x0[ 100 ];
9999
double y;
100100
double t;
101101
int i;

lib/node_modules/@stdlib/stats/base/dists/cauchy/mode/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ static double random_uniform( const double min, const double max ) {
2727
}
2828

2929
int main( void ) {
30-
double x0;
3130
double gamma;
31+
double x0;
3232
double y;
3333
int i;
3434

lib/node_modules/@stdlib/stats/base/dists/cauchy/mode/manifest.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"libpath": [],
4040
"dependencies": [
4141
"@stdlib/math/base/napi/binary",
42-
"@stdlib/math/base/assert/is-nan",
43-
"@stdlib/constants/float64/eps"
42+
"@stdlib/math/base/assert/is-nan"
4443
]
4544
},
4645
{
@@ -55,8 +54,7 @@
5554
"libraries": [],
5655
"libpath": [],
5756
"dependencies": [
58-
"@stdlib/math/base/assert/is-nan",
59-
"@stdlib/constants/float64/eps"
57+
"@stdlib/math/base/assert/is-nan"
6058
]
6159
},
6260
{
@@ -71,8 +69,7 @@
7169
"libraries": [],
7270
"libpath": [],
7371
"dependencies": [
74-
"@stdlib/math/base/assert/is-nan",
75-
"@stdlib/constants/float64/eps"
72+
"@stdlib/math/base/assert/is-nan"
7673
]
7774
}
7875
]

0 commit comments

Comments
 (0)