Hacker News new | ask | show | jobs
by sesqu 2993 days ago
R and Matlab are definitely array-oriented in that sense (though not fully). Here's how you might do it in R:

    prod(1:x)