Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ interface Options {
* // returns [...]
*
* // Equivalent of Math.round():
* var arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* // returns [...]
*/
declare function datespace( start: Date | number | string, stop: Date | number | string, options?: Options ): Array<Date>;
Expand Down Expand Up @@ -81,7 +81,7 @@ declare function datespace( start: Date | number | string, stop: Date | number |
* // returns [...]
*
* // Equivalent of Math.round():
* var arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* arr = datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* // returns [...]
*/
declare function datespace( start: Date | number | string, stop: Date | number | string, length: number, options?: Options ): Array<Date>;
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/array/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ interface Namespace {
* // returns [...]
*
* // Equivalent of Math.round():
* var arr = ns.datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* arr = ns.datespace( 1417503655000, 1417503655001, 3, { 'round': 'round' } );
* // returns [...]
*/
datespace: typeof datespace;
Expand Down Expand Up @@ -520,7 +520,7 @@ interface Namespace {
* var dt = ns.dtype( [ 1, 2, 3 ] );
* // returns 'generic'
*
* var dt = ns.dtype( 'beep' );
* dt = ns.dtype( 'beep' );
* // returns null
*/
dtype: typeof dtype;
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/dtype/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
* var dt = dtype( [ 1, 2, 3 ] );
* // returns 'generic'
*/
declare function dtype( value: Array<any> ): 'generic';

Check warning on line 217 in lib/node_modules/@stdlib/array/dtype/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Returns the data type of an array.
Expand All @@ -230,10 +230,10 @@
* var dt = dtype( [ 1, 2, 3 ] );
* // returns 'generic'
*
* var dt = dtype( 'beep' );
* dt = dtype( 'beep' );
* // returns null
*/
declare function dtype( value: Array<any> | RealOrComplexTypedArray ): DataType | null;

Check warning on line 236 in lib/node_modules/@stdlib/array/dtype/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/assert/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4619,7 +4619,7 @@ interface Namespace {
* var bool = ns.isMethod( beep, 'boop' );
* // returns true
*
* var bool = ns.isMethod( beep, 'toString' );
* bool = ns.isMethod( beep, 'toString' );
* // returns false
*/
isMethod: typeof isMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
* var bool = isMethod( beep, 'boop' );
* // returns true
*
* var bool = isMethod( beep, 'toString' );
* bool = isMethod( beep, 'toString' );
* // returns false
*/
declare function isMethod( value: any, property: any ): boolean;

Check warning on line 45 in lib/node_modules/@stdlib/assert/is-method/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

Check warning on line 45 in lib/node_modules/@stdlib/assert/is-method/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type


// EXPORTS //
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/complex/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ interface Namespace {
* var dt = ns.dtype( new Complex64( 1.0, 2.0 ) );
* // returns 'complex64'
*
* var dt = ns.dtype( 'beep' );
* dt = ns.dtype( 'beep' );
* // returns null
*/
dtype: typeof dtype;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
* var dt = dtype( new Complex64( 1.0, 2.0 ) );
* // returns 'complex64'
*
* var dt = dtype( 'beep' );
* dt = dtype( 'beep' );
* // returns null
*/
declare function dtype( value: any ): DataType | null;

Check warning on line 77 in lib/node_modules/@stdlib/complex/dtype/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7359,7 +7359,7 @@ interface Namespace {
* var v = ns.minmax( 3.14, 4.2 );
* // returns [ 3.14, 4.2 ]
*
* var v = ns.minmax( 3.14, NaN );
* v = ns.minmax( 3.14, NaN );
* // returns [ NaN, NaN ]
*
* @example
Expand Down Expand Up @@ -7443,7 +7443,7 @@ interface Namespace {
* var v = ns.minmaxf( 3.14, 4.2 );
* // returns [ 3.14, 4.2 ]
*
* var v = ns.minmaxf( 3.14, NaN );
* v = ns.minmaxf( 3.14, NaN );
* // returns [ NaN, NaN ]
*
* @example
Expand All @@ -7464,7 +7464,7 @@ interface Namespace {
* var v = ns.minmaxn( 3.14, 4.2 );
* // returns [ 3.14, 4.2 ]
*
* var v = ns.minmaxn( 3.14, NaN );
* v = ns.minmaxn( 3.14, NaN );
* // returns [ NaN, NaN ]
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static double poly_p12( const double x ) {
/**
* Computes the complete elliptic integral of the second kind.
*
* @param x input value
* @param m input value
* @return output value
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static double poly_p12( const double x ) {
* - Fukushima, Toshio. 2009. "Fast computation of complete elliptic integrals and Jacobian elliptic functions." _Celestial Mechanics and Dynamical Astronomy_ 105 (4): 305. doi:[10.1007/s10569-009-9228-z](https://doi.org/10.1007/s10569-009-9228-z).
* - Fukushima, Toshio. 2015. "Precise and fast computation of complete elliptic integrals by piecewise minimax rational function approximation." _Journal of Computational and Applied Mathematics_ 282 (July): 71–76. doi:[10.1016/j.cam.2014.12.038](https://doi.org/10.1016/j.cam.2014.12.038).
*
* @param x input value
* @param m input value
* @return output value
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static double sumSeries1( const double a, const double z, const double initialVa
*
* @param a function parameter
* @param z function parameter
* @param initialValue initial value of the resulting sum
* @param initValue initial value of the resulting sum
* @returns sum of terms of lower gamma series
*/
static double lowerGammaSeries( const double a, const double z, const double initValue ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Evaluates the logit function.
*
* @param x input value
* @param p input value
* @return output value
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* Computes the logit function for a single-precision floating-point number.
*
* @param x input value
* @param p input value
* @return output value
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
* var dt = dtype( [ 1, 2, 3 ] );
* // returns 'generic'
*
* var dt = dtype( 'beep' );
* dt = dtype( 'beep' );
* // returns null
*/
declare function dtype( value: any ): string | null; // FIXME: add support for `Struct` constructors

Check warning on line 34 in lib/node_modules/@stdlib/ndarray/base/buffer-dtype/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ interface Namespace {
* var dt = ns.bufferDataType( [ 1, 2, 3 ] );
* // returns 'generic'
*
* var dt = ns.bufferDataType( 'beep' );
* dt = ns.bufferDataType( 'beep' );
* // returns null
*/
bufferDataType: typeof bufferDataType;
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/random/base/shared/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ void * stdlib_base_prng_state( const struct BasePRNGObject *obj ) {
*
* - The function returns `-1` if unable to set a PRNG state and `0` otherwise.
*
* @param obj PRNG object
* @param state state
* @return status code
* @param obj PRNG object
* @param vstate state
* @return status code
*/
int8_t stdlib_base_prng_set( struct BasePRNGObject *obj, const void *vstate ) {
if ( obj == NULL || vstate == NULL ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface CDF {
*
* var myCDF = cdf.factory( 0.5, 0.5 );
*
* var y = myCDF( 0.8 );
* y = myCDF( 0.8 );
* // returns ~0.465
*
* y = myCDF( 0.3 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ interface Namespace {
*
* var myCDF = ns.cdf.factory( 0.5, 0.5 );
*
* var y = myCDF( 0.8 );
* y = myCDF( 0.8 );
* // returns ~0.465
*
* y = myCDF( 0.3 );
Expand Down Expand Up @@ -129,7 +129,7 @@ interface Namespace {
*
* var mylogcdf = ns.logcdf.factory( 0.5, 0.5 );
*
* var y = mylogcdf( 0.8 );
* y = mylogcdf( 0.8 );
* // returns ~-0.767
*
* y = mylogcdf( 0.3 );
Expand All @@ -154,7 +154,7 @@ interface Namespace {
*
* var mylogpdf = ns.logpdf.factory( 0.5, 0.5 );
*
* var y = mylogpdf( 0.8 );
* y = mylogpdf( 0.8 );
* // returns ~-1.62
*
* y = mylogpdf( 0.3 );
Expand Down Expand Up @@ -269,7 +269,7 @@ interface Namespace {
*
* var mypdf = ns.pdf.factory( 0.5, 0.5 );
*
* var y = mypdf( 0.8 );
* y = mypdf( 0.8 );
* // returns ~0.198
*
* y = mypdf( 0.3 );
Expand All @@ -294,7 +294,7 @@ interface Namespace {
*
* var myQuantile = ns.quantile.factory( 2.0, 2.0 );
*
* var y = myQuantile( 0.8 );
* y = myQuantile( 0.8 );
* // returns ~2.483
*
* y = myQuantile( 0.4 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface LogCDF {
*
* var mylogcdf = logcdf.factory( 0.5, 0.5 );
*
* var y = mylogcdf( 0.8 );
* y = mylogcdf( 0.8 );
* // returns ~-0.767
*
* y = mylogcdf( 0.3 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface LogPDF {
*
* var mylogpdf = logpdf.factory( 0.5, 0.5 );
*
* var y = mylogpdf( 0.8 );
* y = mylogpdf( 0.8 );
* // returns ~-1.62
*
* y = mylogpdf( 0.3 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface PDF {
*
* var mypdf = pdf.factory( 0.5, 0.5 );
*
* var y = mypdf( 0.8 );
* y = mypdf( 0.8 );
* // returns ~0.198
*
* y = mypdf( 0.3 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface Quantile {
*
* var myQuantile = quantile.factory( 2.0, 2.0 );
*
* var y = myQuantile( 0.8 );
* y = myQuantile( 0.8 );
* // returns ~2.483
*
* y = myQuantile( 0.4 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ interface CDF {
*
* var mycdf = cdf.factory( 1.0 );
*
* var y = mycdf( 2.0 );
* y = mycdf( 2.0 );
* // returns ~0.843
*
* y = mycdf( 1.2 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ interface Namespace {
*
* var mycdf = ns.cdf.factory( 1.0 );
*
* var y = mycdf( 2.0 );
* y = mycdf( 2.0 );
* // returns ~0.843
*
* y = mycdf( 1.2 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ interface Namespace {
* // returns ~-0.047
*
* var mylogcdf = ns.logcdf.factory( 3.0, 1.5 );
* var y = mylogcdf( 1.0 );
* y = mylogcdf( 1.0 );
* // returns ~-1.655
*/
logcdf: typeof logcdf;
Expand All @@ -181,7 +181,7 @@ interface Namespace {
* // returns ~-2.919
*
* var mylogpdf = ns.logpdf.factory( 6.0, 7.0 );
* var y = mylogpdf( 2.0 );
* y = mylogpdf( 2.0 );
* // returns ~-3.646
*/
logpdf: typeof logpdf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ interface LogCDF {
* // returns ~-0.047
*
* var mylogcdf = logcdf.factory( 3.0, 1.5 );
* var y = mylogcdf( 1.0 );
* y = mylogcdf( 1.0 );
* // returns ~-1.655
*/
declare var logcdf: LogCDF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ interface LogPDF {
* // returns ~-2.919
*
* var mylogpdf = logpdf.factory( 6.0, 7.0 );
* var y = mylogpdf( 2.0 );
* y = mylogpdf( 2.0 );
* // returns ~-3.646
*/
declare var logpdf: LogPDF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ interface LogPDF {
* // returns ~-0.546
*
* var mylogpdf = logpdf.factory( 1.0 );
* var y = mylogpdf( 0.8 );
* y = mylogpdf( 0.8 );
* // returns ~-0.546
*/
declare var logpdf: LogPDF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ interface Namespace {
* // returns ~-6.4596
*
* var mylogcdf = ns.logcdf.factory( 2.0, 3.0 );
* var y = mylogcdf( 100.0 );
* y = mylogcdf( 100.0 );
* // returns ~-0.15
*
* y = mylogcdf( 10.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ interface LogCDF {
* // returns ~-6.4596
*
* var mylogcdf = logcdf.factory( 2.0, 3.0 );
* var y = mylogcdf( 100.0 );
* y = mylogcdf( 100.0 );
* // returns ~-0.15
*
* y = mylogcdf( 10.0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ interface CDF {
* // returns ~0.037
*
* var mycdf = cdf.factory( 8 );
* var y = mycdf( 3.9 );
* y = mycdf( 3.9 );
* // returns ~0.027
*/
declare var cdf: CDF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ interface Namespace {
* // returns ~0.037
*
* var mycdf = ns.cdf.factory( 8 );
* var y = mycdf( 3.9 );
* y = mycdf( 3.9 );
* // returns ~0.027
*/
cdf: typeof cdf;
Expand All @@ -57,7 +57,7 @@ interface Namespace {
* // returns ~0.01
*
* var mypdf = ns.pdf.factory( 8 );
* var y = mypdf( 4.0 );
* y = mypdf( 4.0 );
* // returns ~0.008
*/
pdf: typeof pdf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ interface PDF {
* // returns ~0.01
*
* var mypdf = pdf.factory( 8 );
* var y = mypdf( 4.0 );
* y = mypdf( 4.0 );
* // returns ~0.008
*/
declare var pdf: PDF;
Expand Down
Loading
Loading