Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
compass
Method · 0.85
data_string
Method · 0.85
Calls
1
to_positive_radian
Function · 0.85
Tested by
no test coverage detected