Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::promote_scalar_type< T, std::vector< S > > Struct Template Reference

Detailed Description

template<typename T, typename S>
struct stan::math::promote_scalar_type< T, std::vector< S > >

Template metaprogram to calculate a type for a container whose underlying scalar is converted from the second template parameter type to the first.

Template Parameters
Tresult scalar type.
Sinput type

Definition at line 38 of file promote_scalar_type.hpp.

#include <promote_scalar_type.hpp>

Public Types

using type = std::vector< typename promote_scalar_type< T, S >::type >
 The promoted type.
 

The documentation for this struct was generated from the following file: