time-to-botec/js/node_modules/@stdlib/stats/iter/meanabs2/docs/repl.txt

25 lines
460 B
Plaintext
Raw Normal View History

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