Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.math.symbolic    |    Symbolic algebra discussion    |    10,432 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 8,832 of 10,432    |
|    Albert Rich to Nasser M. Abbasi    |
|    Re: question on using ShowSteps in Rubi,    |
|    23 Jul 15 21:07:52    |
   
   From: Albert_Rich@msn.com   
      
   On Sunday, July 19, 2015 at 1:16:13 PM UTC-10, Nasser M. Abbasi wrote:   
      
   > I'd like to capture all the steps made in solving an integral   
   > using Rubi, even if Rubi can't solve it completely, but do   
   > this in the code, i.e. without user intervention.   
      
   The following function StepInt[expn,var] uses Mathematica's FixedPoint   
   function to repeatedly print and evaluate intermediate results produced by   
   Rubi until there is no change:   
      
   StepInt[u_,x_Symbol] :=   
    Block[{ShowSteps=True},   
    FixedPoint[   
    Function[   
    Print[#];   
    ReplaceAll[#,{Defer[Int]->Int,Defer[Dist]->Dist,Defer[Subst]->Subst}]],   
    Int[u,x]];   
    Null]   
      
   Note that StepInt has NOT been extensively tested. Please let me know if you   
   encounter any problems using it.   
      
   Albert   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca