StatisticalProceduresNumberOfPermutations Method Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Calculate the number of permutations

Namespace: Mathos.Statistics
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public static long NumberOfPermutations(
	long sizeOfList,
	long sizeOfPermutations
)

Parameters

sizeOfList
Type: SystemInt64
The size of the list
sizeOfPermutations
Type: SystemInt64
The size of permutations

Return Value

Type: Int64
Returns the number of permutations
Remarks

The size of the list and permutations should both be positive integers, and "r" less than or equal to "n", for Permutation and Combination.
See Also

Reference