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

Function sind

source/matplot/util/common.cpp:371–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 }
370
371 double sind(double degrees) {
372 // 0 -> 0
373 // 180 -> pi
374 // 360 -> 2pi
375 return sin(pi * degrees / 180);
376 }
377
378 std::vector<double> deg2rad(const std::vector<double> &degrees) {
379 std::vector<double> rad(degrees.size());

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected