Esempio n. 1
0
File: Sqrt.cs Progetto: 65001/AbMath
 public static bool SqrtToFuncRunnable(RPN.Node node)
 {
     return(node.IsExponent() && node[0].IsNumber(2) && node[1].IsSqrt());
 }
Esempio n. 2
0
 public static bool setRule(RPN.Node node)
 {
     return(node.IsExponent());
 }
Esempio n. 3
0
 public static bool LnPowerRunnable(RPN.Node node)
 {
     return(node.IsExponent() && node[0].IsLn() && node[1].IsConstant("e"));
 }
Esempio n. 4
0
 public static bool setRule(RPN.Node node)
 {
     return(node.IsAddition() || node.IsSubtraction() || node.IsMultiplication() || node.IsExponent() ||
            node.IsDivision());
 }
Esempio n. 5
0
 public static bool LogPowerRunnable(RPN.Node node)
 {
     return(node.IsExponent() && node.Children[0].IsLog() && node.Children[0].Children[1].Matches(node.Children[1]));
 }