simpleType matrixType

simpleType {http://www.xml-cml.org/schema/stmml}matrixType

Target Namespacehttp://www.xml-cml.org/schema/stmml
Declared Namespacesxmlns:sch=http://www.ascc.net/xml/schematron
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.xml-cml.org/schema/stmml


Source

<xsd:simpleType name="matrixType" id="st.matrixType">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">Allowed
                
<a href="el.matrix">matrix</a>
types
</div>
            <
div class="description">
                <
p>Allowed
                    
<tt>matrix</tt>
types.
These are mainly square matrices
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<matrix id="m1" title="mattrix-1" dictRef="foo:bar"
rows="3" columns="3" dataType="xsd:decimal"
delimiter="|" matrixType="squareSymmetric" units="unit:m"
>|1.1|1.2|1.3|1.2|2.2|2.3|1.3|2.3|3.3!</matrix>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:union>
        <
xsd:simpleType>
            <
xsd:restriction base="xsd:string">
                <
xsd:enumeration value="rectangular"/>
                <
xsd:enumeration value="square"/>
                <
xsd:enumeration value="squareSymmetric"/>
                <
xsd:enumeration value="squareAntisymmetric"/>
                <
xsd:enumeration value="diagonal">
                    <
xsd:annotation>
                        <
xsd:documentation>
                            <
div class="description">Symmetric. Elements are zero except on the diagonal</div>
                        </
xsd:documentation>
                    </
xsd:annotation>
                </
xsd:enumeration>
                <
xsd:enumeration value="upperTriangular">
                    <
xsd:annotation>
                        <
xsd:documentation>
                            <
div class="description">Square. Elements are zero below the diagonal
                                
<pre>
1 2 3 4
0 3 5 6
0 0 4 8
0 0 0 2
                                
</pre>
                            </
div>
                        </
xsd:documentation>
                    </
xsd:annotation>
                </
xsd:enumeration>
                <
xsd:enumeration value="lowerTriangular">
                    <
xsd:annotation>
                        <
xsd:documentation>
                            <
div class="description">Symmetric. Elements are zero except on the diagonal</div>
                        </
xsd:documentation>
                    </
xsd:annotation>
                </
xsd:enumeration>
                <
xsd:enumeration value="unitary"/>
                <
xsd:enumeration value="rowEigenvectors"/>
                <
xsd:enumeration value="rotation22"/>
                <
xsd:enumeration value="rotationTranslation32"/>
                <
xsd:enumeration value="homogeneous33"/>
                <
xsd:enumeration value="rotation33"/>
                <
xsd:enumeration value="rotationTranslation43"/>
                <
xsd:enumeration value="homogeneous44"/>
                <
xsd:enumeration value="square"/>
            </
xsd:restriction>
        </
xsd:simpleType>
        <
xsd:simpleType>
            <
xsd:restriction base="namespaceRefType">
                <
xsd:annotation>
                    <
xsd:documentation>
                        <
div class="summary">User-defined matrix-type</div>
                        <
div class="description">This definition must be by reference to a namespaced dictionary entry.</div>
                    </
xsd:documentation>
                </
xsd:annotation>
            </
xsd:restriction>
        </
xsd:simpleType>
    </
xsd:union>
</
xsd:simpleType>


Documentation

Allowed matrix types

Allowed matrix types. These are mainly square matrices

<matrix id="m1" title="mattrix-1" dictRef="foo:bar"
  rows="3" columns="3" dataType="xsd:decimal"
  delimiter="|" matrixType="squareSymmetric" units="unit:m"
  >|1.1|1.2|1.3|1.2|2.2|2.3|1.3|2.3|3.3!</matrix>
      


simpleType matrixType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.