CoCoA:WeightsList

From ApCoCoAWiki

WeightsList

first row of the weights matrix

Description

This function returns the first row of the weights matrix for the

current ring as a list.

Example

  Use R ::= Q[t,x,y,z];
  WeightsList();
[1, 1, 1, 1]
-------------------------------
  Use R ::= Q[t,x,y,z], Weights(1,3,5,2);
  WeightsList();
[1, 3, 5, 2]
-------------------------------
  Use R ::= Q[x,y], Weights(Mat([[1,2],[3,4],[5,6]]));
  WeightsList();
[1, 2]
-------------------------------

Syntax

WeightsList():LIST

Deg

MDeg

Weights Modifier

WeightsMatrix

   <type>ring</type>