CoCoA:ColumnVectors

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)

ColumnVectors

the list of column vectors of a matrix

Description

This function returns the list of column vectors of the matrix M.

Example

  Use R ::= Q[x,y];
  M := Mat([[1,1], [x,y], [x^2,y^2]]);
  M;
Mat([
  [1, 1],
  [x, y],
  [x^2, y^2]
])
-------------------------------
  ColumnVectors(M);
[Vector(1, x, x^2), Vector(1, y, y^2)]
-------------------------------

Syntax

ColumnVectors(M:LIST or MAT):LIST of VECTOR

where if M is a list, is must be cast-able as a matrix.
   <type>matrix</type>
   <type>vector</type>