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 signum of a single-precision complex number stored in a real-valued strided array view and assigns the result to a provided strided output array.
225
+
* Evaluates the signum function of a single-precision floating-point complex number stored in a real-valued strided array view and assigns results to a provided strided output array.
240
226
*
241
-
* @param {Float32Array} z - complex number view (interleaved real and imaginary)
242
-
* @param {integer} sz - stride length for `z`
243
-
* @param {NonNegativeInteger} oz - starting index for `z`
244
-
* @param {Float32Array} out - output array
245
-
* @param {integer} so - stride length for `out`
246
-
* @param {NonNegativeInteger} oo - starting index for `out`
247
-
* @returns {Float32Array} output array
227
+
* @param {Float32Array} z - complex number view
228
+
* @param {integer} strideZ - stride length for `z`
229
+
* @param {NonNegativeInteger} offsetZ - starting index for `z`
230
+
* @param {Collection} out - output array
231
+
* @param {integer} strideOut - stride length for `out`
232
+
* @param {NonNegativeInteger} offsetOut - starting index for `out`
233
+
* @returns {Collection} output array
248
234
*
249
235
* @example
250
236
* var Float32Array = require( '@stdlib/array/float32' );
251
-
* var strided = require( '@stdlib/math/base/special/csignumf' ).strided;
252
237
*
253
-
* var z = new Float32Array( [ 3.0, 4.0 ] );
254
-
* var out = new Float32Array( 2 );
238
+
* var z = new Float32Array( [ -4.2, 5.5 ] );
255
239
*
256
-
* strided( z, 1, 0, out, 1, 0 );
257
-
* console.log( out );
258
-
* // => <Float32Array>[ ~0.6, ~0.8 ]
240
+
* var out = strided( z, 1, 0, new Float32Array( 2 ), 1, 0 );
0 commit comments