Skip to content

Rework Expressionparser

Martin Marmsoler requested to merge work/expressionEvaluation into master

Description

If the expression is constant after the replacing steps, then the result can be added to all target rows and not just to the minimum of all variables. (Check out unittests to see examples) For example mean(x) returns a single value independet of the size of x. Therefore it can be used in all target rows

  • Iterate over complete yVector, if the expression is indipendet of the source data in xVector
  • Moved a lot into Expressionparser, because so it is easier to determine if the Expression is constant.
  • Better error handling in the parser
    • Check the number of arguments of the functions
  • Speedup parsing and therefore calculating values.

Conformity

When external dependencies are removed

  • Reporting to ...
Edited by Martin Marmsoler

Merge request reports