![]() |
Stan Math Library
2.8.0
reverse mode automatic differentiation
|
Struct to hold static function for promoting underlying scalar types. More...
#include <promote_scalar.hpp>
Static Public Member Functions | |
static Eigen::Matrix< typename promote_scalar_type< T, S > ::type,-1, 1 > | apply (const Eigen::Matrix< S,-1, 1 > &x) |
Return the row vector consisting of the recursive promotion of the elements of the input row vector to the scalar type specified by the return template parameter. More... | |
Struct to hold static function for promoting underlying scalar types.
This specialization is for Eigen row vector inputs.
T | return scalar type |
S | input matrix scalar type for static nested function, which must have a scalar type assignable to T |
Definition at line 79 of file promote_scalar.hpp.
|
inlinestatic |
Return the row vector consisting of the recursive promotion of the elements of the input row vector to the scalar type specified by the return template parameter.
x | input row vector. |
Definition at line 89 of file promote_scalar.hpp.