Post Reply 
Programming challenges: processing vectors and matrices
02-18-2019, 05:22 PM (This post was last modified: 02-18-2019 05:23 PM by John Keith.)
Post: #15
RE: Programming challenges: processing vectors and matrices
The ROW and COL type commands tend to be slow, although some are worse than others. I find that lists are faster to work with overall than arrays, and more flexible as well. I really only use arrays when I need linear algebra functions like inverse , determinant, etc.

If you have ListExt, the following short program is faster than TRAN, even if you use AXL twice to convert between matrix and list:

Code:

\<< DUP LXIL SWAP SIZE LDIST
\>>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming challenges: processing vectors and matrices - John Keith - 02-18-2019 05:22 PM



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