randMat and CAS

12132014, 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. 

12142014, 06:56 AM
(This post was last modified: 12142014 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; )


12142014, 09:55 AM
Post: #3




RE: randMat and CAS  
12152014, 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 

« Next Oldest  Next Newest »

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