Post Reply 
How to pass by reference in XCAS ?
10-26-2020, 07:20 AM (This post was last modified: 10-26-2020 07:22 AM by Stevetuc.)
Post: #2
RE: How to pass by reference in XCAS ?
(10-26-2020 03:10 AM)medwatt Wrote:  I am writing something in Python syntax and wasn't getting the same answer. Upon inspection, the reason for this is because values are not passed by reference. I'm writing an algorithm where several functions need to work on the same array. How do I pass by reference ?

Pass by reference is not supported on the Prime. There are some workarounds discussed here, which presumbly can be adapted for a Python syntax cas program:
https://www.hpmuseum.org/forum/thread-9185.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to pass by reference in XCAS ? - Stevetuc - 10-26-2020 07:20 AM



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