![]() |
Stan Math Library
2.15.0
reverse mode automatic differentiation
|
Struct with static function for elementwise type promotion. More...
#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. More... | |
Struct with static function for elementwise type promotion.
This specialization promotes matrix elements of the same type.
T | type of elements |
Definition at line 45 of file promote_elements.hpp.
|
inlinestatic |
Return input matrix.
u | matrix of type T |
Definition at line 54 of file promote_elements.hpp.