Home Overview Documents Content Dictionaries Software & Tools The OpenMath Society OpenMath Projects OpenMath Discussion Lists OpenMath Meetings Links

OpenMath Content Dictionary: linalg7

Canonical URL:
http://www.openmath.org/cd/linalg7.ocd
CD File:
linalg7.ocd
CD as XML Encoded OpenMath:
linalg7.omcd
Defines:
constant, sparse, zero
Date:
2003-03-22
Version:
1
Review Date:
2005-00-00
Status:
experimental
Uses CD:
alg1, arith1, interval1, linalg1, linalg4, list1, logic1, mathmltypes, quant1, relation1, set1

A CD of structured vectors


zero

Description:

The zero symbol represents the zero vector, it takes one parameter which should be the length (dimension in some terminology) of the vector.

Commented Mathematical property (CMP):
If M is an n*m matrix and V is a zero vector of length m then V*M = V2 where V2 is a zero vector of length n
Formal Mathematical property (FMP):
  
M . columncount ( M ) = m rowcount ( M ) = n zero ( m ) M = zero ( n )
Commented Mathematical property (CMP):
If M is an n*m matrix and V is a zero vector of length n then M*V = V2 where V2 is a zero vector of length m
Formal Mathematical property (FMP):
  
M . columncount ( M ) = m rowcount ( M ) = n M zero ( n ) = zero ( m )
Commented Mathematical property (CMP):
If V is a zero vector of length n and V2 is a vector of length n then V+V2 = V2+V = V2
Formal Mathematical property (FMP):
  
V 2 . size ( V 2 ) = n V 2 = zero ( n ) + V 2 V 2 = V 2 + zero ( n )
Commented Mathematical property (CMP):
If V is a zero vector of length n and i is in the integral interval [1,n] then V.i = 0
Formal Mathematical property (FMP):
  
i [ 1 , n ] zero ( n ) i = 0
Signatures:
sts


[Next: constant] [Last: sparse] [Top]

constant

Description:

The constant symbol represents the constant vector. It takes two parameters, the length (dimension) of the vector and the constant value, which all the elements are equal to.

Commented Mathematical property (CMP):
If V is a constant vector of length n, with constant value c and i is in the integral interval [1,n] then V.i = c
Formal Mathematical property (FMP):
  
i [ 1 , n ] constant ( n , c ) i = c
Signatures:
sts


[Next: sparse] [Previous: zero] [Top]

sparse

Description:

The sparse symbol is a constructor for sparse vectors, it is (n+1)-ary, where the first parameter is the length (dimension) of the vector, and every following parameter specifies a possibly non-zero element in the following way. The parameter is a list which should have length two. The first element in the list is the position (one based), whilst the second element in the list is the value. Every other element of the vector is implicitly zero.

Example:
This example shows a representation of the sparse matrix $$\left (\begin{array}[c]1\\0\\0\\0\\0\end{array}\right$$
  
sparse ( ( 5 , 1 ) )
Signatures:
sts


[First: zero] [Previous: constant] [Top]

Home Overview Documents Content Dictionaries Software & Tools The OpenMath Society OpenMath Projects OpenMath Discussion Lists OpenMath Meetings Links