CoCoA:Comps

From ApCoCoAWiki

Comps

list of components of a vector

Description

This function returns the list of components of V. It is the same as

Cast(V,LIST).

Example

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

Syntax

Comps(V:VECTOR):LIST

Comp

NumComps

   <type>vector</type>