up previous next
Comps

list of components of a vector
Syntax

Comps(V:VECTOR):LIST


Description
This function returns the list of components of V. It is the same as Cast(V, LIST).

Example
  Use R ::= QQ[x,y];
  Comps(Vector(x,x+y,x+y^2));
[x, x + y, y^2 + x]
-------------------------------


See Also