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

◆ get() [3/3]

template<typename T , typename = require_eigen_t<T>>
scalar_type_t< T > stan::get ( const T &  m,
size_t  n 
)
inline

Returns the n-th element of the provided Eigen matrix.

Parameters
minput Eigen Matrix or expression
nindex of the element to return
Returns
n-th element of the Eigen Matrix or expression

Definition at line 47 of file get.hpp.