Skip to content

Commit 8949cfb

Browse files
committed
Update namespace
1 parent 1c38b35 commit 8949cfb

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

  • lib/node_modules/@stdlib

lib/node_modules/@stdlib/namespace/lib/namespace/i.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3955,6 +3955,20 @@ ns.push({
39553955
]
39563956
});
39573957

3958+
ns.push({
3959+
'alias': 'itercuhmean',
3960+
'path': '@stdlib/stats/iter/cuhmean',
3961+
'value': require( '@stdlib/stats/iter/cuhmean' ),
3962+
'type': 'Function',
3963+
'related': [
3964+
'@stdlib/stats/iter/cugmean',
3965+
'@stdlib/stats/iter/cumean',
3966+
'@stdlib/stats/iter/cusummary',
3967+
'@stdlib/stats/iter/hmean',
3968+
'@stdlib/stats/iter/mhmean'
3969+
]
3970+
});
3971+
39583972
ns.push({
39593973
'alias': 'itercumax',
39603974
'path': '@stdlib/stats/iter/cumax',

lib/node_modules/@stdlib/repl/code-blocks/lib/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,7 @@ var db = {
13771377
"iterConstant": "it = iterConstant( 3.14 );\nv = it.next().value\nv = it.next().value\n",
13781378
"iterCounter": "it = iterCounter( random.iterators.randu() );\nv = it.next().value\nv = it.next().value\n",
13791379
"itercugmean": "arr = array2iterator( [ 2.0, 5.0, 3.0, 5.0 ] );\nit = itercugmean( arr );\nv = it.next().value\nv = it.next().value\nv = it.next().value\nv = it.next().value\n",
1380+
"itercuhmean": "arr = array2iterator( [ 2.0, 5.0, 3.0, 5.0 ] );\nit = itercuhmean( arr );\nv = it.next().value\nv = it.next().value\nv = it.next().value\nv = it.next().value\n",
13801381
"itercumax": "arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\nit = itercumax( arr );\nm = it.next().value\nm = it.next().value\nm = it.next().value\nm = it.next().value\n",
13811382
"itercumaxabs": "arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\nit = itercumaxabs( arr );\nm = it.next().value\nm = it.next().value\nm = it.next().value\nm = it.next().value\n",
13821383
"itercumean": "arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\nit = itercumean( arr );\nm = it.next().value\nm = it.next().value\nm = it.next().value\nm = it.next().value\n",

lib/node_modules/@stdlib/repl/help/lib/db.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,8 @@ var db = {
13761376
"iterConcat": "\niterConcat( iter0, ...iterator )\n Returns an iterator which iterates over the values of two or more iterators.\n\n If an environment supports Symbol.iterator and provided iterators are\n iterable, the returned iterator is iterable.\n\n Parameters\n ----------\n iter0: Object\n Input iterator.\n\n iterator: ...Object\n Iterators to concatenate.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var it1 = array2iterator( [ 1, 2 ] );\n > var it2 = array2iterator( [ 3, 4 ] );\n > var it = iterConcat( it1, it2 );\n > var v = it.next().value\n 1\n > v = it.next().value\n 2\n > v = it.next().value\n 3\n > v = it.next().value\n 4\n > var bool = it.next().done\n true\n\n",
13771377
"iterConstant": "\niterConstant( value[, options] )\n Returns an iterator which always returns the same value.\n\n When provided an object reference, the returned iterator always returns the\n same reference.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n value: any\n Value to return.\n\n options: Object (optional)\n Function options.\n\n options.iter: integer (optional)\n Number of iterations. Default: 1e308.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var it = iterConstant( 3.14 );\n > var v = it.next().value\n 3.14\n > v = it.next().value\n 3.14\n\n See Also\n --------\n constantFunction\n",
13781378
"iterCounter": "\niterCounter( iterator )\n Returns an iterator which iteratively computes the number of iterated\n values.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var it = iterCounter( random.iterators.randu() );\n > var v = it.next().value\n 1\n > v = it.next().value\n 2\n\n See Also\n --------\n iterLength\n",
1379-
"itercugmean": "\nitercugmean( iterator )\n Returns an iterator which iteratively computes a cumulative geometric mean.\n\n If provided a negative value, the iterated value is `NaN` for all future\n invocations.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, 5.0, 3.0, 5.0 ] );\n > var it = itercugmean( arr );\n > var v = it.next().value\n 2.0\n > v = it.next().value\n ~3.16\n > v = it.next().value\n ~3.11\n > v = it.next().value\n ~3.50\n\n See Also\n --------\n itercumean\n",
1379+
"itercugmean": "\nitercugmean( iterator )\n Returns an iterator which iteratively computes a cumulative geometric mean.\n\n If provided a negative value, the iterated value is `NaN` for all future\n invocations.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, 5.0, 3.0, 5.0 ] );\n > var it = itercugmean( arr );\n > var v = it.next().value\n 2.0\n > v = it.next().value\n ~3.16\n > v = it.next().value\n ~3.11\n > v = it.next().value\n ~3.50\n\n See Also\n --------\n itercuhmean, itercumean\n",
1380+
"itercuhmean": "\nitercuhmean( iterator )\n Returns an iterator which iteratively computes a cumulative harmonic mean.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, 5.0, 3.0, 5.0 ] );\n > var it = itercuhmean( arr );\n > var v = it.next().value\n 2.0\n > v = it.next().value\n ~2.86\n > v = it.next().value\n ~2.90\n > v = it.next().value\n ~3.24\n\n See Also\n --------\n itercugmean, itercumean\n",
13801381
"itercumax": "\nitercumax( iterator )\n Returns an iterator which iteratively computes a cumulative maximum value.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\n > var it = itercumax( arr );\n > var m = it.next().value\n 2.0\n > m = it.next().value\n 2.0\n > m = it.next().value\n 3.0\n > m = it.next().value\n 5.0\n\n See Also\n --------\n itercumidrange, itercumin, itercurange, itermax\n",
13811382
"itercumaxabs": "\nitercumaxabs( iterator )\n Returns an iterator which iteratively computes a cumulative maximum absolute\n value.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\n > var it = itercumaxabs( arr );\n > var m = it.next().value\n 2.0\n > m = it.next().value\n 5.0\n > m = it.next().value\n 5.0\n > m = it.next().value\n 5.0\n\n See Also\n --------\n itercumax, itercuminabs, itermaxabs\n",
13821383
"itercumean": "\nitercumean( iterator )\n Returns an iterator which iteratively computes a cumulative arithmetic mean.\n\n If an environment supports Symbol.iterator, the returned iterator is\n iterable.\n\n Parameters\n ----------\n iterator: Object\n Input iterator.\n\n Returns\n -------\n iterator: Object\n Iterator.\n\n iterator.next(): Function\n Returns an iterator protocol-compliant object containing the next\n iterated value (if one exists) and a boolean flag indicating whether the\n iterator is finished.\n\n iterator.return( [value] ): Function\n Finishes an iterator and returns a provided value.\n\n Examples\n --------\n > var arr = array2iterator( [ 2.0, -5.0, 3.0, 5.0 ] );\n > var it = itercumean( arr );\n > var m = it.next().value\n 2.0\n > m = it.next().value\n -1.5\n > m = it.next().value\n 0.0\n > m = it.next().value\n 1.25\n\n See Also\n --------\n itercumidrange, itercusum, itermean\n",

0 commit comments

Comments
 (0)