up previous next

WeightsList

Syntax

WeightsList():LIST
    

Summary

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

See Also