Stan Math Library  2.15.0
reverse mode automatic differentiation
Namespaces | Functions
promote_common.hpp File Reference
#include <stan/math/prim/mat/fun/common_type.hpp>
#include <stan/math/prim/mat/fun/promote_elements.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T1 , typename T2 , typename F >
common_type< T1, T2 >::type stan::math::promote_common (const F &u)
 Return the result of promoting either a scalar or the scalar elements of a container to either of two specified types, as determined by stan::math::common_type. More...
 

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