Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
trace_quad_form.hpp File Reference
#include <stan/math/rev/meta.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/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>
#include <type_traits>

Go to the source code of this file.

Classes

class  stan::math::internal::trace_quad_form_vari_alloc< Ta, Ra, Ca, Tb, Rb, Cb >
 
class  stan::math::internal::trace_quad_form_vari< Ta, Ra, Ca, Tb, Rb, Cb >
 

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 
 stan::math::internal
 

Functions

template<typename Ta , int Ra, int Ca, typename Tb , int Rb, int Cb>
std::enable_if< std::is_same< Ta, var >::value||std::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)
 

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