MCPcopy Create free account
hub / github.com/KDE/labplot / smr

Function smr

src/backend/gsl/ExpressionParser.cpp:596–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596double smr(double x, const std::string_view& variable, const std::weak_ptr<Payload> payload) {
597 return smmax(x, variable, payload) - smmin(x, variable, payload);
598}
599
600double psample(double n, const std::string_view& variable, const std::weak_ptr<Payload> payload) {
601 const auto p = std::dynamic_pointer_cast<PayloadExpressionParser>(payload.lock());

Callers

nothing calls this directly

Calls 2

smmaxFunction · 0.85
smminFunction · 0.85

Tested by

no test coverage detected