Allan Leal
Allan Leal
Great, thanks @Ravenwater for bringing this issue to here. I have a big PR #69 where I remember having fixed some issues related to type conversion, but not so sure...
In the PR #69 , you can have a look at this file [`numbertraits.hpp`](https://github.com/allanleal/autodiff/blob/improve-high-order-derivatives-using-array/autodiff/common/numbertraits.hpp) and in [`meta.hpp`](https://github.com/allanleal/autodiff/blob/improve-high-order-derivatives-using-array/autodiff/common/meta.hpp). But to summarize, what we'll have is more or less: ~~~c++ template constexpr...
Agree. I'll try to use your Universal Number Arithmetic (UNA) library in that PR in the next days and see how to get this working. It would then be exciting...
Can you help me with this, please? I use conda to manage dependencies (see the [environment.devenv.yml](https://github.com/autodiff/autodiff/blob/master/environment.devenv.yml)). This simplifies my life, and that's why the entire build process, including the installation...
Hi @giacomo-b , This should be possible. I've started creating an example here, but noticed that some things will need to be implemented (e.g., Eigen uses `std::isfinite` on the number...
Great, keep me posted! On Fri, Oct 29, 2021 at 6:14 PM giacomo-b ***@***.***> wrote: > Hi @allanleal , > > Thanks a lot for the detailed answer, I will...
Hi @mattarroz , a PR for this would be great! Thanks a lot for this. Does the same change you did for `Real` also fixes eigenvalue/eigenvector computations with `Dual`?
Hi, the issue here is that the return type of pow2 should be auto, not T. The multiplication is returning a multiplication expression, and not being converted automatically to dual....
~~My guess is this has something to do with the pass by copy in `auto Rosenbrock(T x0, T x1)` and the return type of `VectorXdual::operator[]`. Checking here.~~ I'm getting a...
I'm still deciding what to do here. It seems that if we stick with expressions being created at compile-time, nesting template functions like your use case won't work. For example:...