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

Method NormFunction

src/function/normfunction.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include "vectorvalue.h"
26
27NormFunction::NormFunction() : Function("norm")
28{
29 addDescription(tr("Returns the strictly positive length of a given number, vector or complex value."));
30 addParameter("value");
31}
32
33Value& NormFunction::evaluate(const Context& ctx) const
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected