Returns the composition of two permutations.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Permutation Compose(
Permutation second,
Permutation first
)
Public Shared Function Compose (
second As Permutation,
first As Permutation
) As Permutation
public:
static Permutation^ Compose(
Permutation^ second,
Permutation^ first
)
static member Compose :
second : Permutation *
first : Permutation -> Permutation
Parameters
- second
- Type: Extreme.MathematicsPermutation
The second Permutation. - first
- Type: Extreme.MathematicsPermutation
The first Permutation.
Return Value
Type:
PermutationThe
Permutation that, when applied to a list,
results in the same ordering as applying
first to the list,
and then applying
second.
The two permutations must have the same length.
Reference