newRPL: Simplified matrices proposal
|
06-08-2015, 04:39 PM
Post: #11
|
|||
|
|||
RE: newRPL: Simplified matrices proposal
I see you already covered vectors in cylindrical or spherical modes (which I was going to voice concerns about). Your solution looks pretty good.
But I found another potential source of trouble: the SIZE command behaves differently on matrices and vectors: on matrices it obviously returns both dimensions as a list with two elements, on a vector or any other array it returns a list with just a single element. This may cause compatibility problems when vectors cannot be distinguished from single row or single-column matrices anymore. I'd vote for a distinction between 1D and 2D arrays. Keeping the old "hack" for vectors should be simple (vectors and other 1D arrays are stored as 2D arrays with 0 as second dimension; this is how they can share the DOARRY prolog). Other than the SIZE issue, that's more of a personal preference, though. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
newRPL: Simplified matrices proposal - Claudio L. - 06-01-2015, 07:20 PM
RE: newRPL: Simplified matrices proposal - Werner - 06-01-2015, 08:48 PM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-02-2015, 12:46 AM
RE: newRPL: Simplified matrices proposal - Paul Dale - 06-01-2015, 10:24 PM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-02-2015, 01:37 AM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-02-2015, 12:19 PM
RE: newRPL: Simplified matrices proposal - rprosperi - 06-03-2015, 01:27 AM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-03-2015, 01:21 PM
RE: newRPL: Simplified matrices proposal - rprosperi - 06-05-2015, 11:41 PM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-08-2015, 12:50 PM
RE: newRPL: Simplified matrices proposal - 3298 - 06-08-2015 04:39 PM
RE: newRPL: Simplified matrices proposal - Claudio L. - 06-08-2015, 06:16 PM
|
User(s) browsing this thread: 1 Guest(s)