Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the specified number of elements as a vector or row vector (same as input) from the front of the specified vector or row vector.
T | type of the vector |
v | Vector input. |
n | Size of return. |
std::out_of_range | if n is out of range. |