Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Types | List of all members
stan::math::append_return_type< T1, 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 return_type< T1, T2 >::type type
 

Detailed Description

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

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

This base implementation assumes the template parameters are not vector types and calculates their return type using return_type.

Template Parameters
T1First type to be promoted
T2Second type to be promoted

Definition at line 22 of file append_return_type.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 23 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.