\HeaderA{fastGrid}{Create a matrix giving all combinations of the elements of x}{fastGrid}
\keyword{misc}{fastGrid}
\begin{Description}\relax
Create a matrix giving all combinations of the elements of x
\end{Description}
\begin{Usage}
\begin{verbatim}
fastGrid(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a vector
\end{ldescription}
\end{Arguments}
\begin{Value}
a matrix of the same mode as x, with dimension c(length(x)\^2, 2). 
The rows give all points on a square lattice formed by pairing
every element of x with every element of x.  Here, order matters
- that is, (1, 2) and (2, 1) both would be included - and points
with an element taken twice - e.g. (1, 1) - also are included.
\end{Value}
\begin{Author}\relax
Scott Chasalow \email{Scott.Chasalow@bms.com}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{geneSet-class}{geneSet.Rdash.class}}
\end{SeeAlso}

