CoCoA:Vector

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>