time-to-botec

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

repl.txt (733B)


      1 
      2 {{alias}}( value )
      3     Tests if a value is a 2-dimensional ndarray-like object having equal
      4     dimensions.
      5 
      6     Parameters
      7     ----------
      8     value: any
      9         Value to test.
     10 
     11     Returns
     12     -------
     13     bool: boolean
     14         Boolean indicating whether a value is a 2-dimensional ndarray-like
     15         object having equal dimensions.
     16 
     17     Examples
     18     --------
     19     > var buf = [ 0, 0, 0, 0 ];
     20     > var sh = [ 2, 2 ];
     21     > var st = [ 2, 1 ];
     22     > var M = {{alias:@stdlib/ndarray/ctor}}( 'generic', buf, sh, st, 0, 'row-major' );
     23     > var bool = {{alias}}( M )
     24     true
     25     > bool = {{alias}}( [ 1, 2, 3, 4 ] )
     26     false
     27     > bool = {{alias}}( 3.14 )
     28     false
     29     > bool = {{alias}}( {} )
     30     false
     31 
     32     See Also
     33     --------
     34