dcase_framework.utils.SimpleMathStringEvaluator.eval

SimpleMathStringEvaluator.eval(string)[source]

Evaluate math in the string

Parameters:

string : str

String to be evaluated

Returns:

result : numeric

Evaluation result