next up previous contents index
Next: tensor Up: Vector Previous: dot   Contents   Index


random


\begin{usage}
random()\\ random~n
\end{usage}

\begin{signatures}
random: & () $\to$\ \%\\
random: & \htmlref{\texttt{MachineInteger}}{MachineInteger} $\to$\ \%\\\end{signatures}

\begin{params}
{\em n} & \htmlref{\texttt{MachineInteger}}{MachineInteger} & The dimension of the new vector.
\end{params}

\begin{retval}
random() returns a random vector of size at most 100, while
random(n) returns a random vector of size n.
\end{retval}


Manuel Bronstein 2000-12-13