![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
#include <stan/math/fwd/core.hpp>#include <stan/math/fwd/fun/multiply.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/trace.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 EigMat1 , typename EigMat2 , require_all_eigen_t< EigMat1, EigMat2 > * = nullptr, require_any_vt_fvar< EigMat1, EigMat2 > * = nullptr> | |
| return_type_t< EigMat1, EigMat2 > | stan::math::trace_dot (EigMat1 &&A, EigMat2 &&B) |
| Compute the trace of the product of two matrices with forward-mode autodiff support. | |