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

Detailed Description

template<typename T, int R, int C>
struct stan::math::promote_elements< Eigen::Matrix< T, R, C >, Eigen::Matrix< T, R, C > >

Struct with static function for elementwise type promotion.

This specialization promotes matrix elements of the same type.

Template Parameters
Ttype of elements in the matrices
Rnumber of rows, can be Eigen::Dynamic
Cnumber of columns, can be Eigen::Dynamic

Definition at line 135 of file promote_elements.hpp.

#include <promote_elements.hpp>

Static Public Member Functions

static const Eigen::Matrix< T, R, C > & promote (const Eigen::Matrix< T, R, C > &u)
 Return input matrix.
 

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