time-to-botec

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

repl.txt (946B)


      1 
      2 {{alias}}( value )
      3     Tests if a value is an ndarray-like object containing double-precision
      4     floating-point numbers.
      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 an ndarray-like object containing
     15         double-precision floating-point numbers.
     16 
     17     Examples
     18     --------
     19     > var M = {};
     20     > M.data = new {{alias:@stdlib/array/float64}}( [ 0, 0, 0, 0 ] );
     21     > M.ndims = 2;
     22     > M.shape = [ 2, 2 ];
     23     > M.strides = [ 2, 1 ];
     24     > M.offset = 0;
     25     > M.order = 'row-major';
     26     > M.dtype = 'float64';
     27     > M.length = 4;
     28     > M.flags = {};
     29     > M.get = function get( i, j ) {};
     30     > M.set = function set( i, j ) {};
     31     > var bool = {{alias}}( M )
     32     true
     33     > bool = {{alias}}( [ 1, 2, 3, 4 ] )
     34     false
     35     > bool = {{alias}}( 3.14 )
     36     false
     37     > bool = {{alias}}( {} )
     38     false
     39 
     40     See Also
     41     --------
     42