![]() |
Stan Math Library
2.14.0
reverse mode automatic differentiation
|
#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... | |