Stan Math Library  2.15.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
promote_scalar.hpp File Reference
#include <stan/math/prim/scal/fun/promote_scalar_type.hpp>
#include <stan/math/prim/scal/meta/index_type.hpp>

Go to the source code of this file.

Classes

struct  stan::math::promote_scalar_struct< T, S >
 General struct to hold static function for promoting underlying scalar types. More...
 
struct  stan::math::promote_scalar_struct< T, T >
 Struct to hold static function for promoting underlying scalar types. More...
 

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , typename S >
promote_scalar_type< T, S >::type stan::math::promote_scalar (const S &x)
 This is the top-level function to call to promote the scalar types of an input of type S to type T. More...
 

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