-
-
Notifications
You must be signed in to change notification settings - Fork 197
Quick Start
Bob Carpenter edited this page Jul 1, 2020
·
7 revisions
To use the Stan math library include exactly one of the following header files.
include | contents | also includes |
---|---|---|
stan/math/prim.hpp |
primitives | n/a |
stan/math/rev.hpp |
reverse-mode autodiff | prim.hpp |
stan/math/fwd.hpp |
forward-mode autodiff | prim.hpp |
stan/math/mix.hpp |
mixed-mode autodiff | prim.hpp, fwd.hpp, rev.hpp |
These top-level header files ensure that all necessary traits files are included in the appropriate order. For more detail, see this Stack Overflow discussion.
Home | Users | Developers