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

◆ segment() [2/3]

template<typename Vec , require_vector_t< Vec > * = nullptr>
auto stan::math::segment ( const Vec &  v,
size_t  i,
size_t  n 
)
inline

Return the specified number of elements as a row/column vector starting from the specified element - 1 of the specified row/column vector.

Template Parameters
Ttype of the vector

Definition at line 18 of file segment.hpp.