public static XmlFormulaTree CreateExpNode(XmlFormulaTree child)
{
return new XmlFormulaTree
{
VariableType = "FUNCTION",
VariableValue = "EXP",
LeftChild = child,
RightChild = null
};
}
public static XmlFormulaTree CreateLogNode(XmlFormulaTree child)