Function convert_fvec_to_std

Function Documentation

std::vector<float> convert_fvec_to_std(const arma::fvec &vec)

Converts an Armadillo float vector (arma::fvec) to a standard C++ vector of floats.

This function creates a std::vector<float> by copying all elements from the arma::fvec.

Parameters:

vec – The input Armadillo vector to convert.

Returns:

A std::vector containing the same float values.