Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "stats/iter/cuhmean/docs/types/index.d"

Index

Functions

Functions

Export assignment itercuhmean

  • Returns an iterator which iteratively computes a cumulative arithmetic geometric mean.

    Notes

    • If an environment supports Symbol.iterator, the returned iterator is iterable.

    Parameters

    Returns Iterator

    iterator

    Example

    var runif = require( `@stdlib/random/iter/uniform` );
    
    var rand = runif( 0.0, 10.0, {
        'iter': 100
    });
    
    var it = itercuhmean( rand );
    
    var v = it.next().value;
    // returns <number>
    
    v = it.next().value;
    // returns <number>
    
    v = it.next().value;
    // returns <number>
    
    // ...