repl.txt (1066B)
1 2 {{alias}}( iterator ) 3 Returns an iterator which iteratively computes the hyperbolic arccosine. 4 5 The domain of the hyperbolic arccosine is restricted to [1,+infinity). If an 6 iterated value is outside of the domain, the returned iterator returns 7 `NaN`. 8 9 If an environment supports Symbol.iterator and a provided iterator is 10 iterable, the returned iterator is iterable. 11 12 Parameters 13 ---------- 14 iterator: Object 15 Input iterator. 16 17 Returns 18 ------- 19 iterator: Object 20 Iterator. 21 22 iterator.next(): Function 23 Returns an iterator protocol-compliant object containing the next 24 iterated value (if one exists) and a boolean flag indicating whether the 25 iterator is finished. 26 27 iterator.return( [value] ): Function 28 Finishes an iterator and returns a provided value. 29 30 Examples 31 -------- 32 > var it = {{alias}}( {{alias:@stdlib/random/iter/uniform}}( 1.0, 10.0 ) ); 33 > var r = it.next().value 34 <number> 35 > r = it.next().value 36 <number> 37 38 See Also 39 -------- 40