|  |  |  |  | 
         
          |  |  |  | 
         
          |  |  A Function Called HoldTemporary
 
  |  | 
        
          |  |  |  | 
         
          |  |  
 | Organization: | Naval Air Warfare Center, Aircraft Division | 
  |  | 
        
          |  |  |  | 
         
          |  |  0211-587
 
  |  | 
        
          |  |  |  | 
         
          |  |  2004-01-28
 
  |  | 
        
          |  |  |  | 
         
          |  |  A package is provided which defines a function called HoldTemporary. This new type of hold works like HoldForm but is automatically released by nearly any function. A function called PowerTogether is also defined as an example of how HoldTemporary can be useful. Powertogether simplifies certain expressions involving Power[_,_] which can't be simplified using FullSimplify.
 
  |  | 
        
          |  |  |  | 
         
          |  |  
  |  | 
        
          |  |  |  | 
         
          |  |  HoldAll, Hold, HoldForm, Evaluation, Formatting
 
  |  | 
        
          |  |  |  | 
         
          |  |  
 |  | HoldTemporary.m (8.8 KB) - Mathematica package [for Mathematica 5.0] |  |  | HoldTemporaryExamples.nb (76.7 KB) - Mathematica notebook [for Mathematica 5.0] | 
  |  |