time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (1078B)


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