kaskr / adcomp

AD computation with Template Model Builder (TMB)
Other
178 stars 80 forks source link

TMBad documentation? #374

Closed bbolker closed 1 year ago

bbolker commented 1 year ago

Looking a gift horse in the mouth ... Is there somewhere/could there be somewhere that documents/describes the differences between the TMBad and CppAD engines/how TMBad fits in?

Also, I think there may be something wrong with the book generation code: lots of weird HTML tags showing up ...

kaskr commented 1 year ago

You're right, thanks - the book looks awful... It's probably something with the versions of doxygen, knitr, bookdown...

Regarding TMBad/CppAD comparison there's nothing publicly available yet except the TMBad doxygen documentation.

A copy-paste from my private working document gives an idea of the similarities/differences:

TMBad overview

bbolker commented 1 year ago

This is great, thanks! As long as I'm asking, it would be interesting if there were a short (one-two sentence) of the overall vision/scope for TMBad; is this essentially a complete replacement for/alternative to CppAD? (It's very hard to keep up with the autodiff landscape if one is not an expert; https://www.autodiff.org is a good place to start, but I have no idea if it's kept up to date (the bibliography has lots up to 2021, but only one entry for 2022; it only includes one paper by you Bell and Kristensen 2018)).

kaskr commented 1 year ago

Yes, TMBad is a complete replacement of the subset of CppAD used by TMB. Its purpose is to make TMB faster, simpler and more memory efficient. A standalone version of TMBad exists in a (currently) private repository which probably will become public in the future.

bbolker commented 1 year ago

I'm closing this (thanks!), but will post a new issue about the book formatting so it stays on the list.