I am trying to parse a set of expressions that involve underscores in names. I am getting an error thrown on the
System.Exception: Error in Ln: 1 Col: 9 (TESTING_UNDER)*(2) ^ Expecting: infix operator or ')' at static Expression MathNet.Symbolics.Infix.ParseOrThrow(System.String infix)
Is this a known limitation on the parser? Is there a way to allow the underscore to be treated as a valid character for a symbol name? Currently I am removing the underscores to allow the parsing to proceed, but it would simpler to not do this.
The line in question looks like this:
var exp = Infix.ParseOrThrow("(TESTING_UNDER)*(2)");. The actual expressions I am messing with are more complicated and I would like to use Math.Net to simplify them.
I am using MathNet.Symbolics 0.13.0.0 from NuGet.