Template Function otyca::array1
Function Documentation
-
template<typename T>
std::vector<std::array<T, 1>> otyca::array1(const std::vector<T> &input) Converts a vector into a vector of single-element arrays.
- Template Parameters:
T – Type of elements in the input vector.
- Parameters:
input – Vector of values.
- Returns:
std::vector<std::array<T, 1>> Vector of single-element arrays.