time-to-botec

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

repl.txt (794B)


      1 
      2 {{alias}}( x, y )
      3     Interchanges two double-precision floating-point vectors.
      4 
      5     Parameters
      6     ----------
      7     x: ndarray
      8         First input array whose underlying data type is 'float64'.
      9 
     10     y: ndarray
     11         Second input array whose underlying data type is 'float64'.
     12 
     13     Returns
     14     -------
     15     y: ndarray
     16         The second input array `y`.
     17 
     18     Examples
     19     --------
     20     > var x = {{alias:@stdlib/ndarray/array}}( new {{alias:@stdlib/array/float64}}( [ 4.0, 2.0, -3.0, 5.0, -1.0 ] ) );
     21     > var y = {{alias:@stdlib/ndarray/array}}( new {{alias:@stdlib/array/float64}}( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] ) );
     22     > {{alias}}( x, y );
     23     > x.data
     24     <Float64Array>[ 2.0, 6.0, -1.0, -4.0, 8.0 ]
     25     > y.data
     26     <Float64Array>[ 4.0, 2.0, -3.0, 5.0, -1.0 ]
     27 
     28     See Also
     29     --------
     30