![]() |
Stan
2.5.0
probability, sampling & optimization
|
Template metaprogram to calculate a type for a container whose underlying scalar is converted from the second template parameter type to the first. More...
#include <promote_scalar_type.hpp>
Public Types | |
| typedef std::vector< typename promote_scalar_type< T, S > ::type > | type |
| The promoted type. More... | |
Template metaprogram to calculate a type for a container whose underlying scalar is converted from the second template parameter type to the first.
| T | result scalar type. |
| S | input type |
Definition at line 38 of file promote_scalar_type.hpp.
| typedef std::vector<typename promote_scalar_type<T,S>::type> stan::math::promote_scalar_type< T, std::vector< S > >::type |
The promoted type.
Definition at line 43 of file promote_scalar_type.hpp.