![]() |
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 T & | promote (const T &u) |
Return input element. More... | |
Struct with static function for elementwise type promotion.
This specialization promotes scalar values of the same type.
T | type of elements |
Definition at line 36 of file promote_elements.hpp.
|
inlinestatic |
Return input element.
u | input of type T |
Definition at line 43 of file promote_elements.hpp.