50 G compiled local variables



#3

I would appreciate sharing knowledge on the issue of compiled local variables. The only reference I have seen is in the AUR manual and in some references on the 48 series. A simple example of an attempt to pass on a closed solution to an integration as a function to be called at will reveals some problems to me, but probably not to some of you more brlliant people. I can solve the problem by brute force, i.e., by changing every instance of "x"to the symbol for compiled local x manually, but there must be some way to generate rhe function directly.

The method I use now is to place the expression in a variable as a stored algebraic object recognising it as such by enclosing it between single quotes . The callimg routine has its independent variable placed on the stack in the proper position and calls lt as a compiled local, not just local.

FYI, I have tried temporary change of the CAS independent to the compiled version of x and to use it as the variable of integration, no can do. Thanks, Ron


#4

Thanks for your help. I figured out the HP method for compiled local variable concept - not what I am used to. close to 180 degrees out, but not quite. Ineresting that they drop the priority of the local after only one level of the subordinate routine, guess it is designed to emforce management of the global bailout.

Still would like explanation or speculation why HP does not extend me the privilege of namimg the CAS variable a compiled local so I can more easily force it to find a closed symbolic solution to an intergration - most likely a partial fraction.

Thank you,

Ron


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP: Dump the predefined variables! bluesun08 12 2,544 11-19-2013, 02:18 PM
Last Post: bluesun08
  HP Prime... NOT meant to replace HP48,49,50 ? Chris Pem10 21 4,169 11-18-2013, 03:30 PM
Last Post: Chris Smith
  HP Prime - local variables retain their initial type BruceH 4 1,329 11-10-2013, 12:42 PM
Last Post: Michael de Estrada
  Shutdown with the Apps key and more than 10 variables in a program. Davi Ribeiro de Oliveira 10 2,833 11-05-2013, 01:26 PM
Last Post: Han
  HP Prime: Number of external Variables Davi Ribeiro de Oliveira 0 648 11-01-2013, 08:10 PM
Last Post: Davi Ribeiro de Oliveira
  HP Prime variables Davi Ribeiro de Oliveira 3 1,132 10-31-2013, 02:24 AM
Last Post: cyrille de Brébisson
  HP Prime - deleting variables bluesun08 1 868 10-29-2013, 06:36 PM
Last Post: Joe Horn
  HP Prime: CAS Variables - -How to save? Helge Gabert 2 1,024 10-27-2013, 11:26 PM
Last Post: Helge Gabert
  HP Prime Programming Tutorial #1: LOCAL, RETURN Eddie W. Shore 6 2,117 10-26-2013, 08:42 PM
Last Post: Miguel Toro
  HP Prime Solver Variables Issue Anibal Morones Ruelas 8 2,081 10-19-2013, 09:45 AM
Last Post: Harold A Climer

Forum Jump: