Stan Math Library
4.8.1
Automatic Differentiation
|
Struct with static function for elementwise type promotion.
This specialization promotes matrix elements of the same type.
T | type of elements in the matrices |
R | number of rows, can be Eigen::Dynamic |
C | number 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. | |