time-to-botec

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

repl.txt (669B)


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