Stan Math Library
5.0.0
Automatic Differentiation
|
|
inlineconstexpr |
Promote a scalar to another scalar type.
PromotionScalar | scalar type of output. |
UnPromotedType | input type. UnPromotedType must be constructible from PromotionScalar |
x | input scalar to be promoted to PromotionScalar type |
Definition at line 25 of file promote_scalar.hpp.