MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / SumFunction

Method SumFunction

src/function/sumfunction.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "vectorvalue.h"
23
24SumFunction::SumFunction() : Function("sum")
25{
26 addDescription(tr("Returns the sum of the given vector of values."));
27 addParameter("values");
28}
29
30Value& SumFunction::evaluate(const Context& ctx) const
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected