Allan Leal

Results 176 comments of Allan Leal

I don't think we need the cache. It can complicate things unnecessarily. Also, these expressions are fast evaluated. Differently from reverse mode, which can generate a huge expression tree (at...

Hi, I was on vacation these past two weeks. You wrote "dual var" above. The `dual` type is thread safe. I don't understand your usage of `var` type above (via...

What is "dual var"? We have types `dual` and `var`. They operate completely different. `dual` uses forward mode AD, whereas `var` uses reverse mode AD. #118 discuss parallel computation of...

I see - I would stick with `dual` (or its higher order variants), because down the road, writing your code in a way that interoperates with both `dual` and `var`...

Hi Kristian, please try and let me know if it does not work. If it does not work, please provide a minimal reproducible example.

Hi! I was on vacation these past three weeks. I cannot work on this ATM. Would you kindly provide a PR with this feature?

Hi Manuel, Yes, PR #69 has indeed a revised implementation for Hessian using forward mode. The issue in your code is that you need to use at least a second-order...

Below is an example: ~~~cpp // C++ includes #include using namespace std; // Eigen includes #include using namespace Eigen; // autodiff include #include #include using namespace autodiff; // Define a...

After PR #69 is merged, a few API breaks will happen (sorry!). But these should be minimal (such as the use of `wrt` instead of `wrtpack`).

Hi @ibell , thanks a lot for all the issues you reported and the feedback. Please feel welcome to collaborate in the development and improvements of `autodiff`! And let me...