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

◆ get() [1/3]

template<typename T , typename = require_stan_scalar_t<T>>
T stan::get ( const T &  x,
size_t  n 
)
inline

Returns the provided element.

Scalar type overload for the function to retrieve n-th element of a vector, Eigen Matrix or expression

Parameters
xinput scalar
nindex of the element to return
Returns
input scalar

Definition at line 23 of file get.hpp.