Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
quad_form.hpp File Reference
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/matrix/typedefs.hpp>
#include <stan/agrad/rev.hpp>
#include <stan/agrad/rev/matrix/typedefs.hpp>
#include <stan/agrad/rev/matrix/value_of.hpp>
#include <stan/math/matrix/quad_form.hpp>
#include <stan/math/error_handling/matrix/check_multiplicable.hpp>
#include <stan/math/error_handling/matrix/check_square.hpp>
#include <stan/math/error_handling/matrix/check_symmetric.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

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, Eigen::Matrix
< var, CB, CB > >::type 
stan::agrad::quad_form (const Eigen::Matrix< TA, RA, CA > &A, const Eigen::Matrix< TB, RB, CB > &B)
 
template<typename TA , int RA, int CA, typename TB , int RB>
boost::enable_if_c
< boost::is_same< TA, var >
::value||boost::is_same< TB,
var >::value, var >::type 
stan::agrad::quad_form (const Eigen::Matrix< TA, RA, CA > &A, const Eigen::Matrix< TB, RB, 1 > &B)
 
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, Eigen::Matrix
< var, CB, CB > >::type 
stan::agrad::quad_form_sym (const Eigen::Matrix< TA, RA, CA > &A, const Eigen::Matrix< TB, RB, CB > &B)
 
template<typename TA , int RA, int CA, typename TB , int RB>
boost::enable_if_c
< boost::is_same< TA, var >
::value||boost::is_same< TB,
var >::value, var >::type 
stan::agrad::quad_form_sym (const Eigen::Matrix< TA, RA, CA > &A, const Eigen::Matrix< TB, RB, 1 > &B)
 

Variable Documentation

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

Definition at line 118 of file quad_form.hpp.

bool _sym

Definition at line 51 of file quad_form.hpp.

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

Definition at line 48 of file quad_form.hpp.

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

Definition at line 49 of file quad_form.hpp.

Eigen::Matrix<var,CB,CB> C_

Definition at line 50 of file quad_form.hpp.


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