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.1.4
public string ToString(
	string format


Type: SystemString
A standard or custom permutation format string.

Return Value

Type: String
The requested string representation of the permutation.

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