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
Syntax public string ToString(
string format
)
Public Function ToString (
format As String
) As String
public:
String^ ToString(
String^ format
)
member ToString :
format : string -> string
Parameters
- format
- Type: SystemString
A standard or custom permutation format string.
Return Value
Type:
StringThe 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