Post Reply 
(Free42) GTOs - question
04-12-2018, 10:35 AM
Post: #15
RE: (Free42) GTOs - question
(04-12-2018 05:33 AM)Werner Wrote:  Why would you need LINDEX etc? Once a matrix has been created with LVAR or LSTO, you could use INDEX straight away, no?

Yes, I had just come to realize that as well. You do need special behavior in INDEX, EDIT, and EDITN for local matrices (because the previous indexed matrix and IJ need to be restored when the indexed local matrix goes out of scope), but of course they can simply detect whether or not a variable is local. There's no need to have separate functions to make that explicit.

I still think LPGMSLV and LPGMINT are needed, at least if you want SOLVE and INTEG to be able to nest. Calling those functions would create new instances of the solver's and integrator's internal data structures.

I foresee a fair amount of internal messiness, but from a user's perspective, this is starting to look like it would be pretty clean and elegant, and it wouldn't have to break backward compatibility.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(Free42) GTOs - question - Werner - 03-26-2018, 08:53 AM
RE: (Free42) GTOs - question - Paul Dale - 03-26-2018, 11:05 AM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 11:22 AM
RE: (Free42) GTOs - question - Paul Dale - 03-26-2018, 11:49 AM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 01:14 PM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 01:15 PM
RE: (Free42) GTOs - question - Werner - 03-27-2018, 05:36 AM
RE: (Free42) GTOs - question - Werner - 04-11-2018, 02:04 PM
RE: (Free42) GTOs - question - Werner - 04-12-2018, 05:33 AM
RE: (Free42) GTOs - question - Thomas Okken - 04-12-2018 10:35 AM
RE: (Free42) GTOs - question - Paul Dale - 04-11-2018, 11:51 PM



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