Macaulay2 » Documentation
Packages » MatchingFields > matchingFieldFromPermutation > ScalingCoefficient
next | previous | forward | backward | up | index | toc

ScalingCoefficient -- scale the permuted row of the weight matrix

Synopsis

Description

The function matchingFieldFromPermutation constructs a weight matrix by permuting the row of a weight matrix that induces the diagonal matching field. The option ScalingCoefficient sets the scaling coefficient of the row being permuted, which by default is $1$.

Note that by setting the option UsePrimePowers to true, it guarantees that the weight matrix is generic, i.e., the matching field is well defined, as long as the scaling coefficient is less than the prime power used.

i1 : getWeightMatrix matchingFieldFromPermutation(3, 6, {1, 3, 2, 4, 6, 5}, UsePrimePowers => true, ScalingCoefficient => 1)

o1 = | 0  0  0  0  0 0 |
     | 1  3  2  4  6 5 |
     | 35 28 21 14 7 0 |

              3       6
o1 : Matrix ZZ  <-- ZZ
i2 : getWeightMatrix matchingFieldFromPermutation(3, 6, {1, 3, 2, 4, 6, 5}, UsePrimePowers => true, ScalingCoefficient => 2)

o2 = | 0  0  0  0  0  0  |
     | 2  6  4  8  12 10 |
     | 35 28 21 14 7  0  |

              3       6
o2 : Matrix ZZ  <-- ZZ
i3 : getWeightMatrix matchingFieldFromPermutation(3, 6, {1, 3, 2, 4, 6, 5}, UsePrimePowers => true, ScalingCoefficient => 3)

o3 = | 0  0  0  0  0  0  |
     | 3  9  6  12 18 15 |
     | 35 28 21 14 7  0  |

              3       6
o3 : Matrix ZZ  <-- ZZ

See also

Functions with optional argument named ScalingCoefficient :

For the programmer

The object ScalingCoefficient is a symbol.

Menu