Help for a "Surface and Flux integrals" program

11062017, 08:44 PM
Post: #41




RE: Help for a "Surface and Flux integrals" program
Another topic to be documented.
Arno 

11062017, 08:57 PM
Post: #42




RE: Help for a "Surface and Flux integrals" program
(11062017 06:49 PM)salvomic Wrote:I added to the posted program the two lines with purge(u) and purge(v) and made u and v local until the problem is solved.(11062017 06:37 PM)Arno K Wrote: No no, now it works, but I am not that contented with implementing of local variables and then purging them to avoid their occurance in memorymanager. 

11062017, 09:13 PM
Post: #43




RE: Help for a "Surface and Flux integrals" program
(11062017 08:57 PM)Arno K Wrote: I added to the posted program the two lines with purge(u) and purge(v) and made u and v local until the problem is solved. you have done well. When there will be a better solution we'll be able to avoid local u and v and also purge()... I have done the same in my program for Linear and curvilinear integrals (in Library) for the same purpose. ∫aL√0 (@salvomic, IT9CLU)  HP Prime, 50g, 12C :: HP Prime Software Library 

11072017, 07:13 AM
Post: #44




RE: Help for a "Surface and Flux integrals" program
There is no better solution! Declaring symbolic variables as local variables and purge them after (or assume(.,DOM_SYMBOLIC)) is the recommanded way to use symbolic variables in a CAS function.


11072017, 08:32 AM
Post: #45




RE: Help for a "Surface and Flux integrals" program
(11072017 07:13 AM)parisse Wrote: There is no better solution! Declaring symbolic variables as local variables and purge them after (or assume(.,DOM_SYMBOLIC)) is the recommanded way to use symbolic variables in a CAS function. well, thank you. I'm using this method and it's ok. ∫aL√0 (@salvomic, IT9CLU)  HP Prime, 50g, 12C :: HP Prime Software Library 

« Next Oldest  Next Newest »

User(s) browsing this thread: 2 Guest(s)