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 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to pass by reference in XCAS ? - medwatt - 10-26-2020, 03:10 AM
RE: How to pass by reference in XCAS ? - Stevetuc - 10-26-2020 07:20 AM
RE: How to pass by reference in XCAS ? - Albert Chan - 10-26-2020, 11:17 AM
RE: How to pass by reference in XCAS ? - pinkman - 10-26-2020, 11:43 AM
RE: How to pass by reference in XCAS ? - medwatt - 10-26-2020, 12:31 PM
RE: How to pass by reference in XCAS ? - Albert Chan - 10-26-2020, 01:46 PM
RE: How to pass by reference in XCAS ? - parisse - 10-27-2020, 07:32 AM
RE: How to pass by reference in XCAS ? - Albert Chan - 10-27-2020, 08:14 AM
RE: How to pass by reference in XCAS ? - parisse - 10-27-2020, 05:17 PM
|
User(s) browsing this thread: 2 Guest(s)