up previous next

Comps

Syntax

Comps(V:VECTOR):LIST
    

Summary

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

See Also