# Factorial (G Dataflow)

Version:

Computes the factorial of an argument.

## n

The input argument.

Default: 0

## error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error

## n!

Factorial of n.

## error out

Error information. The node produces this output according to standard error behavior.

## Algorithm for Computing the Factorial

The following equation defines the factorial function.

$\mathrm{fact}\left(n\right)=n!=\underset{i=1}{\overset{n}{\prod }}i$

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported