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

Go to the source code of this file.

Classes

class  stan::math::internal::trace_gen_quad_form_vari_alloc< Td, Rd, Cd, Ta, Ra, Ca, Tb, Rb, Cb >
 
class  stan::math::internal::trace_gen_quad_form_vari< Td, Rd, Cd, 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 Td , typename Ta , typename Tb , typename = require_any_var_t<value_type_t<Td>, value_type_t<Ta>, value_type_t<Tb>>, typename = require_all_eigen_t<Td, Ta, Tb>>
var stan::math::trace_gen_quad_form (const Td &D, const Ta &A, const Tb &B)
 Return the trace of D times the quadratic form of B and A.