Stan Math Library  2.15.0
reverse mode automatic differentiation
Public Types | List of all members
stan::math::common_type< std::vector< T1 >, std::vector< T2 > > Struct Template Reference

Struct which calculates type promotion over two types. More...

#include <common_type.hpp>

Public Types

typedef std::vector< typename common_type< T1, T2 >::typetype
 

Detailed Description

template<typename T1, typename T2>
struct stan::math::common_type< std::vector< T1 >, std::vector< T2 > >

Struct which calculates type promotion over two types.

This specialization is for vector types.

Template Parameters
T1type of elements contined in std::vector<T1>
T2type of elements contined in std::vector<T2>

Definition at line 19 of file common_type.hpp.

Member Typedef Documentation

§ type

template<typename T1 , typename T2 >
typedef std::vector<typename common_type<T1, T2>::type> stan::math::common_type< std::vector< T1 >, std::vector< T2 > >::type

Definition at line 20 of file common_type.hpp.


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

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