Function uw12::linalg::head
Defined in File linalg.hpp
Function Documentation
-
inline Vec uw12::linalg::head(const Vec &vec, const size_t n_row)
Get first
n_rowof vectorvec- Parameters
vec – Input vector
n_row – Number of rows in sub-vector
- Returns
Sub-vector of first
n_rowof input vector