| Stan Math Library 2.11.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
trace_quad_form.hpp File Reference
`#include <boost/utility/enable_if.hpp>`
`#include <boost/type_traits.hpp>`
`#include <stan/math/rev/core.hpp>`
`#include <stan/math/prim/mat/fun/Eigen.hpp>`
`#include <stan/math/prim/mat/fun/typedefs.hpp>`
`#include <stan/math/rev/scal/fun/value_of.hpp>`
`#include <stan/math/prim/mat/fun/value_of.hpp>`
`#include <stan/math/rev/mat/fun/typedefs.hpp>`
`#include <stan/math/prim/mat/fun/trace_quad_form.hpp>`
`#include <stan/math/prim/mat/err/check_multiplicable.hpp>`
`#include <stan/math/prim/mat/err/check_square.hpp>`

Go to the source code of this file.

## Namespaces
| stan
| stan::math
| Matrices and templated mathematical functions.

## Functions
template<typename TA , int RA, int CA, typename TB , int RB, int CB>
boost::enable_if_c< boost::is_same< TA, var >::value||boost::is_same< TB, var >::value, var >::type | stan::math::trace_quad_form (const Eigen::Matrix< TA, RA, CA > &A, const Eigen::Matrix< TB, RB, CB > &B)

## Variable Documentation

trace_quad_form_vari_alloc<TA, RA, CA, TB, RB, CB>* _impl

Definition at line 89 of file trace_quad_form.hpp.

Eigen::Matrix<TA, RA, CA> A_

Definition at line 33 of file trace_quad_form.hpp.

Eigen::Matrix<TB, RB, CB> B_

Definition at line 34 of file trace_quad_form.hpp.

[ Stan Home Page ] © 2011–2016, Stan Development Team.