[Solved] How to convert a math expression into sums of factors programmatically? [closed]
I found the shortest way to do this using Math.NET Symbolics from Math.NET The key syntax to do so is like this: SymbolicExpression.Parse(“a*(b+c)”).Expand().Summands().Select(x => x.Factors()); In it, I expand the expression and then I get the summands. For each of the summands, I get the factors. To illustrate it better, consider the following expression: a … Read more