Table Of Contents

Factorial (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Computes the factorial of an argument.

    connector_pane_image
    datatype_icon

    n

    The input argument.

    Default: 0

    datatype_icon

    error in

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

    Default: No error

    datatype_icon

    n!

    Factorial of n.

    datatype_icon

    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.

    fact ( n ) = n ! = i = 1 n i

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics