MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / vector_radians

Function vector_radians

source/matplot/util/common.cpp:421–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419 }
420
421 double vector_radians(double x, double y) {
422 return to_positive_radian(atan2(y, x));
423 }
424
425 double vector_magnitude(double x, double y) {
426 return sqrt(pow(x, 2) + pow(y, 2));

Callers 2

compassMethod · 0.85
data_stringMethod · 0.85

Calls 1

to_positive_radianFunction · 0.85

Tested by

no test coverage detected