From 7c34513287a7c01796b936e8170103d517040b85 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sat, 23 May 2026 03:18:03 +0000 Subject: [PATCH] feat: update `math/tools` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/math/tools/docs/types/index.d.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/math/tools/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/tools/docs/types/index.d.ts index 40d2c33add58..88fead82ec43 100644 --- a/lib/node_modules/@stdlib/math/tools/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/tools/docs/types/index.d.ts @@ -38,8 +38,7 @@ interface Namespace { * @example * var base = require( '@stdlib/math/base/special/abs' ); * var dispatch = require( '@stdlib/ndarray/dispatch' ); - * var ndarrayUnary = require( '@stdlib/ndarray/base/unary' ); - * var ndarray2array = require( '@stdlib/ndarray/to-array' ); + * var ns.unary = require( '@stdlib/ndarray/base/unary' ); * var array = require( '@stdlib/ndarray/array' ); * * var types = [ @@ -52,7 +51,7 @@ interface Namespace { * base, * base * ]; - * var dispatcher = dispatch( ndarrayUnary, types, data, 2, 1, 1 ); + * var dispatcher = dispatch( ns.unary, types, data, 2, 1, 1 ); * * var idt = [ 'float64', 'float32', 'generic' ]; * var odt = idt; @@ -67,10 +66,7 @@ interface Namespace { * // returns * * var y = abs( x ); - * // returns - * - * var arr = ndarray2array( y ); - * // returns [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ] + * // returns [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ] */ unary: typeof unary; }