Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::append_return_type< Eigen::Matrix< T1, R, C >, Eigen::Matrix< T2, R, C > > Struct Template Reference

Detailed Description

template<typename T1, typename T2, int R, int C>
struct stan::math::append_return_type< Eigen::Matrix< T1, R, C >, Eigen::Matrix< T2, R, C > >

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

If both types are Eigen::Matrices with the same Row/Column specification, then the type member is another Eigen::Matrix with the same Row/Column specification and a scalar type promoted using return_type. Part of return type promotion logic for append_array

Template Parameters
T1Scalar type of first matrix argument
T2Scalar type of first matrix argument
REigen RowsAtCompileTime of both matrices
CEigen ColsAtCompileTime of both matrices

Definition at line 55 of file append_return_type.hpp.

#include <append_return_type.hpp>

Public Types

using type = typename Eigen::Matrix< return_type_t< T1, T2 >, R, C >
 

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