\Header{prod}{Product of Vector Elements}
\keyword{arith}{prod}
\begin{Usage}
\begin{verbatim}
prod(..., na.rm=TRUE)
\end{verbatim}
\end{Usage}
\begin{Description}
\texttt{prod} returns the product of all the values
present in its arguments.
If \texttt{na.rm} is \texttt{FALSE} an \texttt{NA}
value in any of the arguments will cause
a value of \texttt{NA} to be returned, otherwise
\texttt{NA} values are ignored.\end{Description}
\begin{SeeAlso}
\texttt{\Link{sum}},
\texttt{\Link{cumprod}},
\texttt{\Link{cumsum}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
print(prod(1:7)) == print(gamma(8))
\end{ExampleCode}
\end{Examples}

