public static bool CosOverSinToCotRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("sin") && node[1].IsFunction("cos") && node[0, 0].Matches(node[1, 0])); }
public static bool SinUnderToCscRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("sin")); }
public static bool CotUnderToTanRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("cot")); }
public static bool CosUnderToSecRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("cos")); }
public static bool CscUnderToSinRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("csc")); }
public static bool SecUnderToCosRunnable(RPN.Node node) { return(node.IsDivision() && node[0].IsFunction("sec")); }
public static bool TanUnderToCotRunnable(RPN.Node node) { return(node.IsDivision() && node.Children[0].IsFunction("tan")); }
public static bool setRule(RPN.Node node) { return(node.IsDivision()); }
public static bool setRule(RPN.Node node) { return(node.IsAddition() || node.IsSubtraction() || node.IsMultiplication() || node.IsExponent() || node.IsDivision()); }