Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::append_return_type< std::vector< T1 >, std::vector< T2 > > Struct Template Reference

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.

#include <append_return_type.hpp>

Public Types

using type = typename std::vector< typename append_return_type< T1, T2 >::type >
 

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