JuliaDiff / DualNumbers.jl

Julia package for representing dual numbers and for performing dual algebra
Other
80 stars 30 forks source link

Implement complex(::Type{<:Dual}) #85

Open jishnub opened 3 years ago

jishnub commented 3 years ago

This matches the docstring of complex, so now

julia> typeof(complex(zero(Dual128))) == complex(Dual128)
true