UserManual

matrix

matrix module provides matrices.

Functions

createMatrix(row, column, compo*1)

A factory function to create an instance of Matrix or SquareMatrix.
parameters are checked as follows:

  1. First, if column are list form, return SquareMatrix of size row, coefficients are column list form.
  2. Or if row == column, return SquareMatrix of size row, coefficients are compo list form.
  3. If only row given, return SquareMatrix of size row, coefficients are all zero.
  4. Otherwise, return Matrix of size row x column, coefficients are compo list form.

list form is:

unitMatrix(size)

return unit matrix of size.

sumOfSubspaces(L, M)

Given columns span a subspace m x n matrix L and M, return a matrix whose columns form a basis for sum of two subspaces.

intersectionOfSubspaces(L, M)

Given columns span a subspace m x n matrix L and M, return a matrix whose columns form a basis for intersection of two subspaces.

Classes

Matrix

SquareMatrix

IntegerMatrix

IntegerSquareMatrix

MatrixRing

Subspace

Exception Classes

MatrixSizeError

VectorsNotIndependent

NoInverseImage

NoInverse

NoRing


*1 Of cource, compo means component.

Last-modified: 2006-08-06 (Æü) 17:44:05