| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>randomUniform#</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Monaco,Courier" size=6 color="#999900"><b> |
| 12 | randomUniform# |
| 13 | </b></font></table></table> |
| 14 | <p>A function that can be used in <a href="Formulas.html">Formulas</a>.</p> |
| 15 | <h2>Syntax and semantics</h2> |
| 16 | <dl> |
| 17 | <dt><b><code><font size=+1>randomUniform#</font></code></b> (<i><code><font size=+1>n</font></code></i>, <i><code><font size=+1>min</font></code></i>, <i><code><font size=+1>max</font></code></i>) |
| 18 | <dd>generate <i><code><font size=+1>n</font></code></i> independent uniformly distributed (<a href="_randomUniform_.html"><b><code><font size=+1>randomUniform</font></code></b></a>) numbers.</dd> |
| 19 | <dt><b><code><font size=+1>randomUniform#</font></code></b> (<i><code><font size=+1>model#</font></code></i>, <i><code><font size=+1>min</font></code></i>, <i><code><font size=+1>max</font></code></i>) |
| 20 | <dd>create a vector with the same number of elements as <i><code><font size=+1>model#</font></code></i>, and fill all elements with independent uniformly distributed numbers. This is shorthand for doing</dd> |
| 21 | </dl> |
| 22 | <code> <b>randomUniform#</b> (<a href="_size_.html">size</a> (<i>model#</i>), <i>min</i>, <i>max</i>)<br></code> |
| 23 | <h3>Links to this page</h3> |
| 24 | <ul> |
| 25 | <li><a href="Create_Poisson_process___.html">Create Poisson process...</a> |
| 26 | <li><a href="Functions.html">Functions</a> |
| 27 | <li><a href="Scripting_5_7__Vectors_and_matrices.html">Scripting 5.7. Vectors and matrices</a> |
| 28 | </ul> |
| 29 | <hr> |
| 30 | <address> |
| 31 | <p>© Paul Boersma 2023,2024</p> |
| 32 | </address> |
| 33 | </body> |
| 34 | </html> |