time-to-botec

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

repl.txt (707B)


      1 
      2 {{alias}}()
      3     Returns a list of ndarray index modes.
      4 
      5     The output array contains the following modes:
      6 
      7     - throw: specifies that a function should throw an error when an index is
      8     outside a restricted interval.
      9     - wrap: specifies that a function should wrap around an index using modulo
     10     arithmetic.
     11     - clamp: specifies that a function should set an index less than zero to
     12     zero (minimum index) and set an index greater than a maximum index value to
     13     the maximum possible index.
     14 
     15     Returns
     16     -------
     17     out: Array<string>
     18         List of ndarray index modes.
     19 
     20     Examples
     21     --------
     22     > var out = {{alias}}()
     23     [ 'throw', 'clamp', 'wrap' ]
     24 
     25     See Also
     26     --------
     27