22#include "../ParserLib/muParserDef.h"
70 m_val += newVal * conj(newVal);
MUP_BASETYPE value_type
The numeric datatype used by the parser.
bool isnan(const value_type &v)
Simplify the creation of some statistics by externalizing the operation code and unifying the driver ...
StatsLogic(OperationType type, double baseVal=0.0, mu::value_type compVal=0.0)
void combine(const StatsLogic &other)
Combines results from different StatsLogic instances into a single result.
void operator()(const mu::value_type &newVal)
Implements the statistics logic.