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

Function logspace

source/matplot/util/common.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 std::vector<double> logspace(double d1, double d2, size_t n) {
83 return transform(linspace(d1, d2, n),
84 [](double x) { return pow(10, x); });
85 }
86
87 std::vector<double> logspace(double d1, double d2) {
88 return logspace(d1, d2, 50);

Callers 7

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

transformFunction · 0.85
linspaceFunction · 0.85

Tested by

no test coverage detected