Stan Math Library
4.9.0
Automatic Differentiation
|
std::vector< T > stan::math::tail | ( | const std::vector< T > & | sv, |
size_t | n | ||
) |
Return the specified number of elements as a standard vector from the back of the specified standard vector.
T | type of elements in the vector |
sv | Standard vector. |
n | Size of return. |
std::out_of_range | if n is out of range. |