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

Go to the source code of this file.

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.
 

Typedefs

template<typename ReturnType , typename... Types>
using stan::promote_var_matrix_t = std::conditional_t< is_any_var_matrix< ReturnType, Types... >::value, stan::math::var_value< stan::math::promote_scalar_t< double, ReturnType > >, stan::math::promote_scalar_t< stan::math::var_value< double >, ReturnType > >
 Given an Eigen type and several inputs, determine if a matrix should be var<Matrix> or Matrix<var>.