Template Function otyca::vector_to_colvec(const std::vector<std::vector<T>>&)
Function Documentation
-
template<typename T>
arma::Col<T> otyca::vector_to_colvec(const std::vector<std::vector<T>> &in) Converts a nested std::vector to an Armadillo column vector.
- Template Parameters:
T – Type of elements in the nested vector.
- Parameters:
in – Input nested vector.
- Returns:
arma::Col<T> Converted Armadillo column vector.