Allan Leal

Results 176 comments of Allan Leal

Hi @choldgraf , Thanks for providing the CSS rule above. Could you please tell how to properly import Font Awesome to that your customization works? I tried adding: ~~~ @import...

The use of var generates a graph at runtime, which is traversed for computing the derivatives in reverse order. Unfortunately, it was never implemented with use cases where many variables...

Yes, dual and real are based on a forward algorithm. From: guestieng ***@***.***> Sent: Tuesday, 23 January 2024 15:54 To: autodiff/autodiff ***@***.***> Cc: Allan Leal ***@***.***>; Comment ***@***.***> Subject: Re:...

Hi Ian, unfortunately there is no out-of-the-box function to produce these second-order cross derivatives. I assume you are using at least a second-order dual number. What I suggest you to...

Hi @petar-andrejic , thanks for initiating this discussion. I don't deal with complex numbers and I'm currently very busy with my main project (Reaktoro - https://reaktoro.org) which uses `autodiff::real`. Thus,...

Hi @vangohao , when working with dual types, which generate compile-time expression objects for mathematical operations, you need to ensure that the return type of your functions is `dual`. Please...

If you provide `xs+ys` as argument to `sqr`, then `T` is of type `BinaryExpr` (something like this; can't try now). But the return type cannot be `T` anymore (it will...

Hi @rath3t , thanks for reporting this. autodiff relies on conda as dependency manager and on conda-forge packages as deps. Using the conda environment `autodiff` produced with the file `environment.devenv.yml`...

Hi Alex, my point was simply that following the standard build setup adopted for autodiff, (e.g., using conda deps) I could successfully compile the Python bindings. Unfortunately I did not...

Hi @taipinghu , what is the number type you have tried? Also, from your code above, it does not seem difficult to compute `energy_real` as well as its derivatives with...