Post Reply 
randMat and CAS
12-13-2014, 06:53 PM
Post: #1
randMat and CAS
This is also a little strange:

In CAS, randMat(5,5,4) returns a 5x5 matrix with integers between 1 and 4 - - OK
but randMat(5,5,4,7) returns 5 ??

Contrast this with Home RANDMAT(5,5,4,7) OK.
Find all posts by this user
Quote this message in a reply
12-14-2014, 06:56 AM (This post was last modified: 12-14-2014 06:56 AM by parisse.)
Post: #2
RE: randMat and CAS
Indeed, there is a typo in source code (return m; instead of return M; )
Find all posts by this user
Quote this message in a reply
12-14-2014, 09:55 AM
Post: #3
RE: randMat and CAS
(12-14-2014 06:56 AM)parisse Wrote:  Indeed, there is a typo in source code (return m; instead of return M; )

Another instance of the malignity of differentiating entities purely by capitalization.
Find all posts by this user
Quote this message in a reply
12-15-2014, 09:59 AM
Post: #4
RE: randMat and CAS
Hello

Quote:Another instance of the malignity of differentiating entities purely by capitalization.

PASCAL RULEZ!
:-)

Cyrille
Find all posts by this user
Quote this message in a reply
Post Reply 




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