time-to-botec

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

repl.txt (748B)


      1 
      2 {{alias}}( [out,] re1, im1, re2, im2 )
      3     Divides two complex numbers.
      4 
      5     Parameters
      6     ----------
      7     out: Array|TypedArray|Object (optional)
      8         Output array.
      9 
     10     re1: number
     11         Real component.
     12 
     13     im1: number
     14         Imaginary component.
     15 
     16     re2: number
     17         Real component.
     18 
     19     im2: number
     20         Imaginary component.
     21 
     22     Returns
     23     -------
     24     out: Array|TypedArray|Object
     25         Real and imaginary components.
     26 
     27     Examples
     28     --------
     29     > var y = {{alias}}( -13.0, -1.0, -2.0, 1.0 )
     30     [ 5.0, 3.0 ]
     31 
     32     > var out = new {{alias:@stdlib/array/float64}}( 2 );
     33     > var v = {{alias}}( out, -13.0, -1.0, -2.0, 1.0 )
     34     <Float64Array>[ 5.0, 3.0 ]
     35     > var bool = ( v === out )
     36     true
     37 
     38     See Also
     39     --------
     40