Skip to content

feat!: update namespace TypeScript declarations #5277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025
Merged
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
81 changes: 0 additions & 81 deletions lib/node_modules/@stdlib/stats/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ import cumin = require( '@stdlib/stats/base/cumin' );
import cuminabs = require( '@stdlib/stats/base/cuminabs' );
import dcumin = require( '@stdlib/stats/base/dcumin' );
import dists = require( '@stdlib/stats/base/dists' );
import dmaxabssorted = require( '@stdlib/stats/strided/dmaxabssorted' );
import dmaxsorted = require( '@stdlib/stats/strided/dmaxsorted' );
import dmean = require( '@stdlib/stats/base/dmean' );
import dmeankbn = require( '@stdlib/stats/strided/dmeankbn' );
import dmeankbn2 = require( '@stdlib/stats/base/dmeankbn2' );
import dmeanli = require( '@stdlib/stats/base/dmeanli' );
import dmeanlipw = require( '@stdlib/stats/base/dmeanlipw' );
Expand Down Expand Up @@ -377,58 +374,6 @@ interface Namespace {
*/
dists: typeof dists;

/**
* Computes the maximum absolute value of a sorted double-precision floating-point strided array.
*
* @param N - number of indexed elements
* @param x - sorted input array
* @param strideX - stride length
* @returns maximum absolute value
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ -1.0, -2.0, -3.0 ] );
*
* var v = ns.dmaxabssorted( x.length, x, 1 );
* // returns 3.0
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ -1.0, -2.0, -3.0 ] );
*
* var v = ns.dmaxabssorted.ndarray( x.length, x, 1, 0 );
* // returns 3.0
*/
dmaxabssorted: typeof dmaxabssorted;

/**
* Computes the maximum value of a sorted double-precision floating-point strided array.
*
* @param N - number of indexed elements
* @param x - sorted input array
* @param strideX - stride length
* @returns maximum value
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, 2.0, 3.0 ] );
*
* var v = ns.dmaxsorted( x.length, x, 1 );
* // returns 3.0
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, 2.0, 3.0 ] );
*
* var v = ns.dmaxsorted.ndarray( x.length, x, 1, 0 );
* // returns 3.0
*/
dmaxsorted: typeof dmaxsorted;

/**
* Computes the arithmetic mean of a double-precision floating-point strided array.
*
Expand All @@ -455,32 +400,6 @@ interface Namespace {
*/
dmean: typeof dmean;

/**
* Computes the arithmetic mean of a double-precision floating-point strided array using an improved Kahan–Babuška algorithm.
*
* @param N - number of indexed elements
* @param x - input array
* @param strideX - stride length
* @returns arithmetic mean
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ns.dmeankbn( x.length, x, 1 );
* // returns ~0.3333
*
* @example
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
*
* var v = ns.dmeankbn.ndarray( x.length, x, 1, 0 );
* // returns ~0.3333
*/
dmeankbn: typeof dmeankbn;

/**
* Computes the arithmetic mean of a double-precision floating-point strided array using a second-order iterative Kahan–Babuška algorithm.
*
Expand Down