time-to-botec

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

repl.txt (576B)


      1 
      2 {{alias}}( real, imag[, dtype] )
      3     Creates a complex number.
      4 
      5     The function supports the following data types:
      6 
      7     - float64
      8     - float32
      9 
     10     Parameters
     11     ----------
     12     real: number
     13         Real component.
     14 
     15     imag: number
     16         Imaginary component.
     17 
     18     dtype: string (optional)
     19         Data type. Default: 'float64'.
     20 
     21     Returns
     22     -------
     23     z: Complex
     24         Complex number.
     25 
     26     Examples
     27     --------
     28     > var z = {{alias}}( 5.0, 3.0, 'float64' )
     29     <Complex128>
     30     > z = {{alias}}( 5.0, 3.0, 'float32' )
     31     <Complex64>
     32 
     33     See Also
     34     --------
     35