factorial(Array) Function

Top 

Description

Computes the factorial expansion of the specified value. Before expansion the value is truncated to an integer.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

factorial(

Array A)

 

 

Arguments

A


Description:

The array whose element-by-element factorial expansion will be returned.

 

 

 

Return Value

Type:

Array of number

 

 

An array containing the factorial expansion of each element of array A.

 

Syntax

myArray1 = factorial(myArray2);

 

 

See also

factorial