![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>#include <stan/math/rev/core.hpp>#include <stan/math/rev/fun/value_of.hpp>#include <stan/math/prim/meta.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/trace_dot.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename Mat1 , typename Mat2 , require_all_matrix_t< Mat1, Mat2 > * = nullptr, require_any_rev_matrix_t< Mat1, Mat2 > * = nullptr> | |
| var | stan::math::trace_dot (Mat1 &&A, Mat2 &&B) |
| Compute the trace of the product of two matrices with autodiff support. | |