Skip to content

Commit edef1e2

Browse files
committed
chore: minor clean-up
1 parent 21bfa5b commit edef1e2

9 files changed

Lines changed: 14 additions & 17 deletions

File tree

lib/node_modules/@stdlib/assert/is-nan-array/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ interface IsNaNArray {
9696
* var bool = isNaNArray.objects( [ new Number( NaN ), new Number( NaN ) ] );
9797
* // returns true
9898
*/
99-
declare var isNumberArray: IsNaNArray;
99+
declare var isNaNArray: IsNaNArray;
100100

101101

102102
// EXPORTS //
103103

104-
export = isNumberArray;
104+
export = isNaNArray;

lib/node_modules/@stdlib/math/base/special/beta/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ for ( x = 0; x < 10; x++ ) {
144144
Evaluates the [beta function][beta-function].
145145

146146
```c
147-
double out = stdlib_base_beta( 1.0, 1,0 );
147+
double out = stdlib_base_beta( 1.0, 1.0 );
148148
// returns 1.0
149149

150-
out = stdlib_base_beta( 5.0, 0.2);
150+
out = stdlib_base_beta( 5.0, 0.2 );
151151
// returns ~3.382
152152
```
153153

@@ -190,7 +190,7 @@ int main( void ) {
190190
int i;
191191
int j;
192192
for ( i = 0; i < 5; i++ ) {
193-
for ( j = 0; j < 5; j++ ){
193+
for ( j = 0; j < 5; j++ ) {
194194
out = stdlib_base_beta( x[ i ], y[ j ] );
195195
printf ( "x: %lf, y: %lf, out: %lf\n", x[ i ], y[ j ], out );
196196
}

lib/node_modules/@stdlib/math/base/special/betaln/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var betaln = require( '@stdlib/math/base/special/betaln' );
6868

6969
#### betaln( x, y )
7070

71-
Evaluates the the [natural logarithm][natural-logarithm] of the [beta function][beta-function].
71+
Evaluates the [natural logarithm][natural-logarithm] of the [beta function][beta-function].
7272

7373
```javascript
7474
var val = betaln( 0.0, 0.0 );
@@ -141,7 +141,7 @@ for ( x = 0; x < 10; x++ ) {
141141

142142
#### stdlib_base_betaln( x, y )
143143

144-
Evaluates the the [natural logarithm][natural-logarithm] of the [beta function][beta-function].
144+
Evaluates the [natural logarithm][natural-logarithm] of the [beta function][beta-function].
145145

146146
```c
147147
double v = stdlib_base_betaln( 5.0, 0.2 );

lib/node_modules/@stdlib/math/base/special/binomcoefln/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ int main( void ) {
231231
double out;
232232
int i;
233233
for ( i = 0; i < 5; i++ ) {
234-
out = stdlib_base_binomcoef( a[ i ], b[ i ] );
234+
out = stdlib_base_binomcoefln( a[ i ], b[ i ] );
235235
printf( "binomcoefln(%" PRId64 ", %" PRId64 ") = %lf\n", a[ i ], b[ i ], out );
236236
}
237237
}

lib/node_modules/@stdlib/math/base/special/boxcox/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626

2727
<section class="intro">
2828

29-
The one-parameter [Box-Cox transformation][box-cox-transformation] is defined as
29+
The one-parameter [Box-Cox transformation][box-cox-transformation] is defined as
3030

3131
<!-- <equation class="equation" label="eq:boxcox_transformation_one_parameter" align="center" raw="y^{\lambda} = \begin{cases}\frac{y^{\lambda} - 1}{\lambda} & \textrm{if}\ \lambda \neq 0 \\ \ln(y) & \textrm{if}\ \lambda = 0 \end{cases}" alt="One-Parameter Box-Cox Transformation"> -->
3232

@@ -186,7 +186,7 @@ int main( void ) {
186186
int i;
187187
int j;
188188
for ( i = 0; i < 3; i++ ) {
189-
for ( j = 0; j < 3; j++ ){
189+
for ( j = 0; j < 3; j++ ) {
190190
out = stdlib_base_boxcox( x[ i ], y[ j ] );
191191
printf ( "x: %lf, y: %lf, out: %lf\n", x[ i ], y[ j ], out );
192192
}

lib/node_modules/@stdlib/math/base/special/boxcox1p/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626

2727
<section class="intro">
2828

29-
A one-parameter [Box-Cox transformation][box-cox-transformation] is defined as
29+
A one-parameter [Box-Cox transformation][box-cox-transformation] is defined as
3030

3131
<!-- <equation class="equation" label="eq:boxcox_transformation_one_parameter" align="center" raw="y^{\lambda} = \begin{cases}\frac{(y + 1)^{\lambda} - 1}{\lambda} & \textrm{if}\ \lambda \neq 0 \\ \log(y + 1) & \textrm{if}\ \lambda = 0 \end{cases}" alt="One-Parameter Box-Cox Transformation"> -->
3232

@@ -189,7 +189,7 @@ int main( void ) {
189189
int i;
190190
int j;
191191
for ( i = 0; i < 3; i++ ) {
192-
for ( j = 0; j < 3; j++ ){
192+
for ( j = 0; j < 3; j++ ) {
193193
b = stdlib_base_boxcox1p( x[ i ], l[ j ] );
194194
printf ( "boxcox1p(%lf, %lf) = %lf\n", x[ i ], l[ j ], b );
195195
}

lib/node_modules/@stdlib/stats/base/dists/normal/stdev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Evaluates the standard deviation for a normal distribution with mean `mu` and st
137137

138138
```c
139139
double out = stdlib_base_dists_normal_stdev( 0.0, 1.0 );
140-
// returns ~1.4189
140+
// returns 1.0
141141
```
142142

143143
The function accepts the following arguments:

lib/node_modules/@stdlib/stats/base/dists/normal/stdev/test/test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', function
5959
y = stdev( 2.0, -1.0 );
6060
t.equal( isnan( y ), true, 'returns NaN' );
6161

62-
y = stdev( 2.0, -1.0 );
63-
t.equal( isnan( y ), true, 'returns NaN' );
64-
6562
y = stdev( 1.0, NINF );
6663
t.equal( isnan( y ), true, 'returns NaN' );
6764

lib/node_modules/@stdlib/utils/every-by/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var bool = everyBy( arr, isPositive );
6868
// returns false
6969
```
7070

71-
The invoked `function` is provided three arguments:
71+
The invoked `predicate` function is provided three arguments:
7272

7373
- **value**: collection element.
7474
- **index**: collection index.

0 commit comments

Comments
 (0)