public static bool TrigIdentityCosToSinRunnable(RPN.Node node) { return(node.IsSubtraction() && node[0].IsExponent() && node[1].IsNumber(1) && node[0, 0].IsNumber(2) && node[0, 1].IsFunction("cos")); }
public static bool setRule(RPN.Node node) { return(node.IsAddition() || node.IsSubtraction() || node.IsMultiplication() || node.IsExponent() || node.IsDivision()); }
public static bool LogSubtractionRunnable(RPN.Node node) { return(node.IsSubtraction() && node.Children[0].IsLog() && node.Children[1].IsLog() && node.Children[0].Children[1].Matches(node.Children[1].Children[1])); }
public static bool LnSubtractionRunnable(RPN.Node node) { return(node.IsSubtraction() && node.Children[0].IsLn() && node.Children[1].IsLn()); }
public static bool setRule(RPN.Node node) { return(node.IsSubtraction()); }