JuliaDiff / DualNumbers.jl

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

deprecate lowercase constructors #28

Closed mlubin closed 8 years ago

mlubin commented 9 years ago

drops support for 0.3. The package fell a bit behind in following the Julia convention of deprecating int for Int etc. Only question is what we should do for the vectorized versions. float([1,2,3]) is still around, but int([1.0,2.0,3.0]) is not. Is Dual([1.0,2.0,3.0]) okay for creating an array of dual numbers, or should we keep dual for the vectorized case?

jrevels commented 9 years ago

+1 to throwing out the vectorized case.

I think using map(Dual, [1.0, 2.0, 3.0]) is preferable to defining Dual(::Vector), if there aren't any performance issues with falling back to map (not sure if that's the case).

mlubin commented 8 years ago

This is stale