A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://openmath.org/cd/linalg2 below:

linalg2

OpenMath Content Dictionary: linalg2
Canonical URL:
http://www.openmath.org/cd/linalg2.ocd
CD Base:
http://www.openmath.org/cd
CD File:
linalg2.ocd
CD as XML Encoded OpenMath:
linalg2.omcd
Defines:
matrix, matrixrow, vector
Date:
2004-03-30
Version:
3 (Revision 1)
Review Date:
2006-03-30
Status:
official
     This document is distributed in the hope that it will be useful, 
     but WITHOUT ANY WARRANTY; without even the implied warranty of 
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

     The copyright holder grants you permission to redistribute this 
     document freely as a verbatim copy. Furthermore, the copyright
     holder permits you to develop any derived work from this document
     provided that the following conditions are met.
       a) The derived work acknowledges the fact that it is derived from
          this document, and maintains a prominent reference in the 
          work to the original source.
       b) The fact that the derived work is not the original OpenMath 
          document is stated prominently in the derived work.  Moreover if
          both this document and the derived work are Content Dictionaries
          then the derived work must include a different CDName element,
          chosen so that it cannot be confused with any works adopted by
          the OpenMath Society.  In particular, if there is a Content 
          Dictionary Group whose name is, for example, `math' containing
          Content Dictionaries named `math1', `math2' etc., then you should 
          not name a derived Content Dictionary `mathN' where N is an integer.
          However you are free to name it `private_mathN' or some such.  This
          is because the names `mathN' may be used by the OpenMath Society
          for future extensions.
       c) The derived work is distributed under terms that allow the
          compilation of derived works, but keep paragraphs a) and b)
          intact.  The simplest way to do this is to distribute the derived
          work under the OpenMath license, but this is not a requirement.
     If you have questions about this license please contact the OpenMath
     society at http://www.openmath.org.
  Author: OpenMath Consortium
  SourceURL: https://github.com/OpenMath/CDs
            

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

vector
Role:
application
Description:

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 xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
  <OMA>
    <OMS cd="linalg2" name="vector"/>
    <OMI> 3 </OMI>
    <OMI> 6 </OMI>
    <OMI> 9 </OMI>
  </OMA>
</OMOBJ>
<math xmlns="http://www.w3.org/1998/Math/MathML">
 <apply><csymbol cd="linalg2">vector</csymbol>
  <cn type="integer">3</cn>
  <cn type="integer">6</cn>
  <cn type="integer">9</cn>
 </apply>
</math>
Signatures:
sts
matrixrow
Role:
application
Description:

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 xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
  <OMA>
    <OMS cd="linalg2" name="matrixrow"/>
    <OMI> 1 </OMI>
    <OMI> 0 </OMI>
  </OMA>
</OMOBJ>
<math xmlns="http://www.w3.org/1998/Math/MathML">
 <apply><csymbol cd="linalg2">matrixrow</csymbol>
  <cn type="integer">1</cn>
  <cn type="integer">0</cn>
 </apply>
</math>
Signatures:
sts
matrix
Role:
application
Description:

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 xmlns="http://www.openmath.org/OpenMath" version="2.0" cdbase="http://www.openmath.org/cd">
  <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>
<math xmlns="http://www.w3.org/1998/Math/MathML">
 <apply><csymbol cd="linalg2">matrix</csymbol>
  <apply><csymbol cd="linalg2">matrixrow</csymbol>
   <cn type="integer">1</cn>
   <cn type="integer">0</cn>
  </apply>
  <apply><csymbol cd="linalg2">matrixrow</csymbol>
   <cn type="integer">0</cn>
   <cn type="integer">1</cn>
  </apply>
 </apply>
</math>

linalg2.matrix(linalg2.matrixrow(1, 0), linalg2.matrixrow(0, 1))

Signatures:
sts

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5