Skip to main content
Module

x/simplestatistics/src/factorial.js

simple statistics for node & browser javascript
Go to Latest
import * as simplestatistics from "https://deno.land/x/simplestatistics@v7.7.5/src/factorial.js";

Functions

A Factorial, usually written n!, is the product of all positive integers less than or equal to n. Often factorial is implemented recursively, but this iterative approach is significantly faster and simpler.