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

This template metaprogram is used to compute the return type for append_array. More...

#include <append_return_type.hpp>

Public Types

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

Detailed Description

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

This template metaprogram is used to compute the return type for append_array.

If the types of both template arguments are std::vectors, the type member is recursively computed as the append_return_type of the scalar types associated with those std::vectors.

Template Parameters
T1Element type of first std::vector
T2Element type of second std::vector

Definition at line 71 of file append_return_type.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 72 of file append_return_type.hpp.


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

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