Template Function otyca::col
Function Documentation
-
template<typename T, std::size_t N>
std::vector<T> otyca::col(const std::vector<std::array<T, N>> &vector_of_array, size_t i) Extracts a specific column from a vector of arrays.
- Template Parameters:
T – Type of elements in the arrays.
N – Size of the arrays.
- Parameters:
vector_of_array – Vector of arrays.
i – Index of the column to extract.
- Returns:
std::vector<T> Extracted column values.