Permutation.ToString Method (String)
Click or drag to resize

PermutationToString Method (String)

Converts the permutation to its string representation in the given format.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public string ToString(
	string format
)

Parameters

format
Type: SystemString
A standard or custom permutation format string.

Return Value

Type: String
The requested string representation of the permutation.
Remarks

The standard permutation format strings are "M", which produces a map representation, and "C", which produces a cycle representation. For explanations of the map and cycle representations of a permutation, see Parse(String).

See Also