Function angles_from_matrix_std

Function Documentation

std::vector<double> angles_from_matrix_std(const arma::fmat &points)

Calculate the angles from 2D vectors to the x-axis.

Parameters:

points – Matrix where each row is a 2D point.

Returns:

Vector of angles in radians.