Random number no repeat.

732 views
Skip to first unread message

Sean Bird

unread,
Mar 14, 2015, 6:28:35 PM3/14/15
to tinspire
A friend was recently asking about
randintnorep for the nspire.
The TI-Nspire does have randSamp(list,trials,[default with rep, 1=no repeat).

If you like the name randintnorep you could define the following and put it in the library.

randintnorep(lowbound,upbound,trials):=randSamp(seq(i,i,lowbound,upbound),trials,1)

Enjoy,
Sean Bird


Ray Fox

unread,
Mar 15, 2015, 9:47:08 AM3/15/15
to tinspire

What a great idea Sean.

--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime

---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages