Allan Leal
Allan Leal
I'm wondering if what you guys want to solve here is related to the issue I'm facing for quite some time already. I have two C++ libraries ([autodiff](www.github.com/autodiff/autodiff) and [Reaktoro](www.github.com/reaktoro/reaktoro))...
The issue happens with both cases: * different compilers (`gcc` for one package, `clang` for the other) * same compilers, different versions (e.g., `gcc 9.4` for one, `gcc 10.3` for...
Hi Peter. Thanks for reporting and investigating this. I'm on vacation with no access to my computer. I'll look into this next week. In the meanwhile, I think you could...
It took 2s here :) Below is the compilation time for the mentioned examples using `reverse.hpp` and `forward.hpp` header files: **example-reverse-single-variable-function.cpp** ~~~ real 0m2.007s user 0m1.840s sys 0m0.084s ~~~ **example-forward-single-variable-function.cpp**...
> I'd like to use forward.hpp but I find it a bit trickier to use... I'll be investing quite some time in the future in the foward algorithm, because this...
> Now to get the derivitive wrt each variable requires a loop, but you would need one in the reverse case also I believe This is true in the forward...
> Are you implying that you will drop backward mode from the library? `var` should continue to be maintained here, but users would be informed of a potentially more efficient...
> Using the .array member function won't work inside expressions that take derivatives. Hi @ludkinm , what do you mean above? Could you please give an example showing what should...
Thanks, @c-renton for reporting this. Yes, I confirm this does not work at the moment. Did you find a solution from your side that could be shared here (via a...
I started (barely) working on a fix for this in the past, but since I don't need this functionality (which, by the way, can open up interesting new possibilities), I've...