time-to-botec/js/node_modules/@stdlib/stats/iter/meanabs/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

24 lines
440 B
Plaintext

{{alias}}( iterator )
Computes an arithmetic mean of absolute values for all iterated values.
Parameters
----------
iterator: Object
Input iterator.
Returns
-------
out: number|null
Arithmetic mean of absolute values.
Examples
--------
> var arr = {{alias:@stdlib/array/to-iterator}}( [ 1.0, -2.0, -3.0, 4.0 ] );
> var m = {{alias}}( arr )
2.5
See Also
--------