CoCoA:WeightsList

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>