dcase_util.utils.SimpleMathStringEvaluator.eval

SimpleMathStringEvaluator.eval(string)[source]

Evaluate math in the string

Parameters
stringstr

String to be evaluated

Returns
resultnumeric

Evaluation result