Dual.this

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

  1. this(const Dual!R d)
    struct Dual(T)
    @safe pure nothrow @nogc
    this
    (
    R : T
    )
    (
    const Dual!R d
    )
    if (
    isFloatingPoint!T
    )
  2. this(const R re)
  3. this(const Rr re, const Rd du)

Meta