Stan Math Library
4.8.1
Automatic Differentiation
|
Struct with static function for elementwise type promotion.
This specialization promotes scalar values of the same type.
T | type of elements |
Definition at line 39 of file promote_elements.hpp.
#include <promote_elements.hpp>
Static Public Member Functions | |
static const T & | promote (const T &u) |
Return input element. | |