Function convert_to_arma_vector
Defined in File utils.hpp
Function Documentation
-
std::vector<arma::vec2> convert_to_arma_vector(const std::vector<std::array<float, 2>> vector)
Create a vector of 2D points (arma::vec2) from general vector.
- Parameters:
vector – A vector of 2D points represented as arrays of two floats [x, y].
- Returns:
A vector of 2D points (arma::vec2).