Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ promote()

template<typename T , typename S , int R, int C>
static Eigen::Matrix< T, R, C > stan::math::promote_elements< Eigen::Matrix< T, R, C >, Eigen::Matrix< S, R, C > >::promote ( const Eigen::Matrix< S, R, C > &  u)
inlinestatic

Return input matrix of type S as matrix of type T.

Parameters
umatrix of type S, assignable to type T
Returns
matrix of type T

Definition at line 115 of file promote_elements.hpp.