Complex.this

Construct a complex number with the specified real and imaginary parts. In the case where a single argument is passed that is not complex, the imaginary part of the result will be zero.

  1. this(Complex!R z)
  2. this(Rx x, Ry y)
    struct Complex(T)
    @safe pure nothrow @nogc
    this
    (
    Rx : T
    Ry : T
    )
    (
    const Rx x
    ,
    const Ry y
    )
  3. this(R r)

Meta