Click or drag to resize

PermutationToString Method (String, IFormatProvider)

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
Syntax
public string ToString(
	string format,
	IFormatProvider formatProvider
)

Parameters

format
Type: SystemString
A standard or custom permutation format string.
formatProvider
Type: SystemIFormatProvider
An object that provides culture-specific formatting information.

Return Value

Type: String
The requested string representation of the permutation.

Implements

IFormattableToString(String, IFormatProvider)
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