Re: [julia-users] Re: Hyper-Dual numbers

2015-10-05 Thread Jarrett Revels
Just a note to avoid confusion: ForwardDiff.jl doesn't use complex numbers at all. It uses its own implementation of dual number/hyper-dual number "ensembles" for computing multiple partial derivatives simultaneously. There is no additional error term in ForwardDiff.jl's formulation. --

Re: [julia-users] Re: Hyper-Dual numbers

2015-09-28 Thread Rob Goedman
Hi Nitin, Thanks for the note and references. The recent upgrade of ForwardDiff.jl certainly shows the value of these methods. Did you (re-)implement MultiComplexNumbers from the 2nd reference, or used one of the two (Fortran and Matlab) prototype modules? Did you use it from within Julia? Do

[julia-users] Re: Hyper-Dual numbers

2015-09-28 Thread Nitin Arora
There is another method to calculate any order derivatives, very similar to this one, known as Multi-complex differentiation. This method can calculate derivatives up-to any order.

[julia-users] Re: Hyper-Dual numbers

2014-03-30 Thread Jason Merrill
Cool. I took a quick look over the code, and it looks pretty good to me. You have an inline comment about wanting understand convert/promote better--one good place to look is promotions.jl in base: https://github.com/JuliaLang/julia/blob/master/base/promotion.jl#L158 This defines some fairly

Re: [julia-users] Re: Hyper-Dual numbers

2014-03-30 Thread Robert J Goedman
Thank you very much Jason, great feedback. I will work through your suggestions and make the changes. In particular the extensibility argument/pattern is something I've been thinking about as well. Regards, Rob J. Goedman goed...@icloud.com On Mar 30, 2014, at 10:09 AM, Jason Merrill