Left factorials: Difference between revisions
m
→{{header|R}}: Syntax highlighting.
ReeceGoding (talk | contribs) m (→{{header|R}}: Syntax highlighting.) |
|||
Line 2,968:
===Vectorization solution===
Due to vectorization, these sorts of problems are R's bread and butter. The only challenge comes from making sure that R plays nice with objects from the gmp library.
<lang
leftFact <- function(numbs)
{
|