Function calc_angles

Function Documentation

double calc_angles(const arma::fvec &v1, const arma::fvec &v2)

Computes the angle (in radians) between two vectors.

Parameters:
  • v1 – First vector

  • v2 – Second vector

Returns:

Angle in radians