Post Reply 
RPL mini-challenge: Create an anti-Identity Matrix
05-16-2018, 01:56 AM
Post: #46
RE: RPL mini-challenge: Create an anti-Identity Matrix
(05-15-2018 03:58 PM)toml_12953 Wrote:  
(05-15-2018 05:45 AM)Gerald H Wrote:  HP 38G solves the problem economically:

Code:
MAKEMAT(I≠J,Ans,Ans):
The Prime works the same way but its execution time is measured in milliseconds.

I still wonder, though, if there's a way to build the matrix on the Prime that would be faster. I'm assuming that MAKEMAT is similar to LCXM on the 50g, in that it probably builds a matrix of a given size by applying the supplied function to every cell. If that's the case, it would seem likely that a more direct route (similar to the fastest entries shown in this thread for the 50g) would produce faster results than MAKEMAT. Of course that speed difference might not be noticed by a human using the Prime. Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPL mini-challenge: Create an anti-Identity Matrix - DavidM - 05-16-2018 01:56 AM



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