OpenMath Content Dictionary: linalg2

Canonical URL:
http://www.openmath.org/cd/linalg2.ocd
CD File:
linalg2.ocd
CD as XML Encoded OpenMath:
linalg2.omcd
Defines:
matrix, matrixrow, vector
Date:
2001-03-12
Version:
2
Review Date:
2003-04-01
Status:
official

This CD treats matrices and vectors in a row oriented fashion (using matrixrow's).


vector

This symbol represents an n-ary function used to construct (or describe) vectors. Vectors in this CD are considered to be row vectors and must therefore be transposed to be considered as column vectors.

Example:
An example of vector using n arguments. The specific vector constructed in this example is [3,6,9].
<OMOBJ>
  <OMA>
    <OMS cd="linalg2" name="vector"/>
    <OMI> 3 </OMI>
    <OMI> 6 </OMI>
    <OMI> 9 </OMI>
  </OMA>
</OMOBJ>

vector ( 3 , 6 , 9 )

Signatures:
sts


[Next: matrixrow] [Last: matrix] [Top]

matrixrow

This symbol is an n-ary constructor used to represent rows of matrices. Its arguments should be members of a ring.

Example:
Representation of a row of a matrix of length two containing the integers [1,0]
<OMOBJ>
  <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 1 </OMI>
    <OMI> 0 </OMI>
  </OMA>
</OMOBJ>

matrixrow ( 1 , 0 )

Signatures:
sts


[Next: matrix] [Previous: vector] [Top]

matrix

This symbol is an n-ary matrix constructor which requires matrixrow's as arguments. It is used to represent matrices.

Example:
Representation of a 2x2 identity matrix
<OMOBJ>
  <OMA>
    <OMS cd="linalg2" name="matrix"/>
    <OMA>
      <OMS cd="linalg2" name="matrixrow"/>
      <OMI> 1 </OMI>
      <OMI> 0 </OMI>
    </OMA>
    <OMA>
      <OMS cd="linalg2" name="matrixrow"/>
      <OMI> 0 </OMI>
      <OMI> 1 </OMI>
    </OMA>
  </OMA>
</OMOBJ>

matrix (matrixrow ( 1 , 0 ) , matrixrow ( 0 , 1 ) )

Signatures:
sts


[First: vector] [Previous: matrixrow] [Top]