<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ARandm</id>
	<title>TI-BASIC:Randm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ARandm"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Randm&amp;action=history"/>
	<updated>2026-04-17T17:24:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Randm&amp;diff=604&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Randm&amp;diff=604&amp;oldid=prev"/>
		<updated>2016-02-24T18:09:29Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=RANDM.GIF&lt;br /&gt;
|summary=Creates a matrix of specified size with the entries random integers from -9 to 9.&lt;br /&gt;
|syntax=randM(&amp;#039;&amp;#039;# rows&amp;#039;&amp;#039;, &amp;#039;&amp;#039;# columns&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# MATRX (TI-83) or 2nd MATRX (TI-83+ or higher) to access the matrix menu&lt;br /&gt;
# RIGHT to access the MATH submenu.&lt;br /&gt;
# 6 to select randM(, or use arrows.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
randM(&amp;#039;&amp;#039;M&amp;#039;&amp;#039;, &amp;#039;&amp;#039;N&amp;#039;&amp;#039;) generates an M by N matrix whose entries are pseudorandom integers between -9 and 9 inclusive.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;seed&amp;#039;&amp;#039;→rand affects the output of randM(.&lt;br /&gt;
&lt;br /&gt;
 0→rand&lt;br /&gt;
 	0&lt;br /&gt;
 randM(3,3)&lt;br /&gt;
 	[[9  -3 -9]&lt;br /&gt;
 	 [4  -2 0 ]&lt;br /&gt;
 	 [-7 8  8 ]]&lt;br /&gt;
&lt;br /&gt;
If you actually cared about the bounds of the random numbers, this command would not be very useful, since it&amp;#039;s hard to manipulate the matrix to yield uniformly spread random numbers in a different range.&lt;br /&gt;
&lt;br /&gt;
= Formulas =&lt;br /&gt;
&lt;br /&gt;
The entries of randM( are actually the outputs of successive calls to randInt(-9,9), filled in starting at the bottom right and moving left across each row from the last row to the first.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#invaliddim|ERR:INVALID DIM]]&amp;#039;&amp;#039;&amp;#039; is thrown if the number of rows or columns of the matrix isn&amp;#039;t an integer 1-99.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Rand|Rand]]&lt;br /&gt;
* [[TI-BASIC:Randint|RandInt(]]&lt;br /&gt;
* [[TI-BASIC:Randnorm|RandNorm(]]&lt;br /&gt;
* [[TI-BASIC:Randbin|RandBin(]]&lt;br /&gt;
* [[TI-BASIC:Randintnorep|randIntNoRep(]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>