![]() |
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 T | promote (const S &u) |
Return input element. More... | |
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 16 of file promote_elements.hpp.
|
inlinestatic |
Return input element.
u | input of type S, assignable to type T |
Definition at line 23 of file promote_elements.hpp.