CoCoA:Vector

From ApCoCoAWiki

Vector

create a vector

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 ::= Q[x];
  V := Vector(1,x,x^2);
  Type(V);
VECTOR
-------------------------------
  Vector([1+x, x, x^2]);
Vector(x + 1, x, x^2)
-------------------------------

Syntax

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

where L is a list of polynomials.
   <type>vector</type>