Casio calculator and Roll Two Dice in Random
|
08-22-2020, 03:24 PM
Post: #6
|
|||
|
|||
RE: Casio calculator and Roll Two Dice in Random
(08-22-2020 07:20 AM)Joe Horn Wrote: RANDINT(2,1,6) is simpler.Much better! The Prime functions catalog is like a maze. So I correct my sentence: not “enough” functions, but “too much” functions Quote:Note that rand(2,1,6) in CAS seems the same at first glance, but the former allows repeats (pairs), whereas the latter does not (AKA selection without replacement).Nice observation. rand(6,1,6) -> all integers from 1 to 6 in random order. rand(10,1,6) -> Error. Invalid dimension. Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Casio calculator and Roll Two Dice in Random - Gamo - 08-21-2020, 02:00 AM
RE: Casio calculator and Roll Two Dice in Random - Albert Chan - 08-21-2020, 11:53 AM
RE: Casio calculator and Roll Two Dice in Random - Albert Chan - 08-22-2020, 01:25 AM
RE: Casio calculator and Roll Two Dice in Random - pinkman - 08-21-2020, 09:16 PM
RE: Casio calculator and Roll Two Dice in Random - Joe Horn - 08-22-2020, 07:20 AM
RE: Casio calculator and Roll Two Dice in Random - pinkman - 08-22-2020 03:24 PM
|
User(s) browsing this thread: 1 Guest(s)