![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
Struct with static function for elementwise type promotion.
This base implementation promotes one scalar value to another.
| T | type of promoted element |
| S | type of input element, must be assignable to T |
Definition at line 21 of file promote_elements.hpp.
#include <promote_elements.hpp>
Static Public Member Functions | |
| static T | promote (const S &u) |
| Return input element. | |