Allan Leal
Allan Leal
This would be an interesting project. Unfortunately, I won't have time for this investigation in the coming months. We would need a volunteer.
Hi Petter, Wow, this is amazing! Sorry for getting back to you only now (I did not see this over the weekend). I'm happy to see that the **forward mode...
I think binder could be the way to go indeed. `autodiff` is available via conda, so we can add it in the `environment.yml` file. I'll create an `autodiff/bench` repository, which...
Looks like something similar to this: https://stackoverflow.com/questions/49919005/cppad-with-eigen where Eigen and CppAD are used together. I'll try to get this fixed soon (hopefully today, if the solution is there already! :))....
Looks like this is a common (and non-resolved) issue when using custom types in Eigen. Here is another stackoverflow question (without a definite solution): https://stackoverflow.com/questions/49456181/using-eigen-with-custom-complex-number-designed-for-automatic-differentiation Even adding the following piece...
My opinion is that we keep this issue open and stay on top of the developments of Eigen in the direction of permitting the multiplication of matrices with different scalar...
Hi @ludkinm - I'll check a fix for this. This should work for `var` - I have mixed `VectorXdual` and `VectorXd` in the past without issues.
Excellent you've found this. Yes, a PR would be great - thanks.
Check file `autodiff/forward/utils/derivative.hpp`. There you'll see that `wrt` function returns an object of class `Wrt`, which is just a wrapper to a `std::tuple` (this `Wrt` type is needed to better...
It's possible to accomplish this without macros; but `wrt` has to be completely redefined, so that its arguments are expected to also contain integers (and not just `dual`/`real` variables). But...