Automatic Differentiation
 
Loading...
Searching...
No Matches
trace_quad_form.hpp File Reference

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

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

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_quad_form (const EigMat1 &A, const EigMat2 &B)
 
template<typename Mat1 , typename Mat2 , require_all_matrix_t< Mat1, Mat2 > * = nullptr, require_any_var_matrix_t< Mat1, Mat2 > * = nullptr>
var stan::math::trace_quad_form (const Mat1 &A, const Mat2 &B)
 Compute trace(B^T A B).