up previous next
WeightsList

first row of the weights matrix

Syntax
WeightsList():LIST

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]
------------------------------- 


See Also