up previous next
Vector

create a vector
Syntax

Vector(F_1:POLY,...,F_n:POLY):VECTOR
Vector(L:LIST):VECTOR

where L is a list of polynomials.


Description
The first form returns the vector with components F_1,...,F_n; the second form returns the vector whose components are the components of the list L.

Example
  Use R ::= QQ[x];
  V := Vector(1,x,x^2);
  Type(V);
VECTOR
-------------------------------
  Vector([1+x, x, x^2]);
Vector(x + 1, x, x^2)
-------------------------------