Function uw12::linalg::col
Defined in File linalg.hpp
Function Documentation
-
inline Vec uw12::linalg::col(const Mat &mat, const size_t col_idx, const bool copy_data = false)
Get a column of input matrix
mat- Parameters
mat – Input matrix
col_idx – Index of column
copy_data – Whether to copy the column data
- Returns
Column vector corresponding to
col_idxcolumn of matrixmat