Exemple #1
0
 static public AddToTree.Tree DeleteingMulFx(AddToTree.Tree Dummy, ref UknownIntegralSolver UIS)
 {
     try
     {
         Dummy = DeletingMultaplification.ArrangmentToDeleteingMul(Dummy);
         Dummy = DeletingMultaplification.RepeatedlyDeletedAction(Dummy, ref UIS);
         //Dummy = Simplifier.SimplifierFxSimpler(Dummy);
         while (Dummy.ThreadAccess != null)
         {
             Dummy = Dummy.ThreadAccess;
         }
     }
     catch (NullReferenceException t) { ExceptionClass.ExceptionClassMethod(t); }
     return(Dummy);
 }
Exemple #2
0
 static AddToTree.Tree ArrangmentToDeleteingMul(AddToTree.Tree Dummy)
 {
     if (Dummy == null)
     {
         return(Dummy);
     }
     DeletingMultaplification.ArrangmentToDeleteingMul(Dummy.LeftSideAccess);
     DeletingMultaplification.ArrangmentToDeleteingMul(Dummy.RightSideAccess);
     if (Dummy.SampleAccess == "*")
     {
         if (IS.IsNumber(Dummy.RightSideAccess.SampleAccess))
         {
             Dummy.SetLefTandRightCommonlySide(Dummy.RightSideAccess, Dummy.LeftSideAccess);
         }
     }
     if (Dummy.SampleAccess == "*")
     {
         if (IS.IsMulOrDiv(Dummy.LeftSideAccess.SampleAccess))
         {
             Dummy.SetLefTandRightCommonlySide(Dummy.RightSideAccess, Dummy.LeftSideAccess);
         }
     }
     return(Dummy);
 }