Template Function otyca::vector_to_rowvec

Function Documentation

template<typename T>
arma::Row<T> otyca::vector_to_rowvec(const std::vector<T> &in)

Converts a std::vector to an Armadillo row vector.

Template Parameters:

T – Type of elements in the vector.

Parameters:

in – Input vector.

Returns:

arma::Row<T> Converted Armadillo row vector.