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)
  2. this(const R re)
  3. this(const Rr re, const Rd du)
    struct Dual(T)
    @safe pure nothrow @nogc
    this
    (
    Rr : T
    Rd : T
    )
    (
    const Rr re
    ,
    const Rd du
    )
    if (
    isFloatingPoint!T
    )

Meta