You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Computes the range of absolute values of a one-dimensional double-precision floating-point ndarray.
1130
+
*
1131
+
* @param arrays - array-like object containing an input ndarray
1132
+
* @returns range
1133
+
*
1134
+
* @example
1135
+
* var Float64Array = require( '@stdlib/array/float64' );
1136
+
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
1137
+
*
1138
+
* var xbuf = new Float64Array( [ 1.0, -3.0, 4.0, 2.0 ] );
1139
+
* var x = new ndarray( 'float64', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
1140
+
*
1141
+
* var v = ns.drangeabs( [ x ] );
1142
+
* // returns 3.0
1143
+
*/
1144
+
drangeabs: typeofdrangeabs;
1145
+
1125
1146
/**
1126
1147
* Computes the standard deviation of a one-dimensional double-precision floating-point ndarray.
1127
1148
*
@@ -2108,6 +2129,23 @@ interface Namespace {
2108
2129
*/
2109
2130
rangeBy: typeofrangeBy;
2110
2131
2132
+
/**
2133
+
* Computes the range of absolute values of a one-dimensional ndarray.
2134
+
*
2135
+
* @param arrays - array-like object containing an input ndarray
2136
+
* @returns range
2137
+
*
2138
+
* @example
2139
+
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
2140
+
*
2141
+
* var xbuf = [ 1.0, -3.0, 4.0, 2.0 ];
2142
+
* var x = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
2143
+
*
2144
+
* var v = ns.rangeabs( [ x ] );
2145
+
* // returns 3.0
2146
+
*/
2147
+
rangeabs: typeofrangeabs;
2148
+
2111
2149
/**
2112
2150
* Computes the covariance of two one-dimensional single-precision floating-point ndarrays provided known means and using a one-pass textbook algorithm.
2113
2151
*
@@ -2990,6 +3028,24 @@ interface Namespace {
2990
3028
*/
2991
3029
srange: typeofsrange;
2992
3030
3031
+
/**
3032
+
* Computes the range of absolute values of a one-dimensional single-precision floating-point ndarray.
3033
+
*
3034
+
* @param arrays - array-like object containing an input ndarray
3035
+
* @returns range
3036
+
*
3037
+
* @example
3038
+
* var Float32Array = require( '@stdlib/array/float32' );
3039
+
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
3040
+
*
3041
+
* var xbuf = new Float32Array( [ 1.0, -3.0, 4.0, 2.0 ] );
3042
+
* var x = new ndarray( 'float32', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
3043
+
*
3044
+
* var v = ns.srangeabs( [ x ] );
3045
+
* // returns 3.0
3046
+
*/
3047
+
srangeabs: typeofsrangeabs;
3048
+
2993
3049
/**
2994
3050
* Computes the standard deviation of a one-dimensional ndarray.
0 commit comments