|
element matrix | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Type Heirarchy |
|---|
{http://www.w3.org/2001/XMLSchema}string (by extension) {http://www.xml-cml.org/schema/stmml}matrix |
| Abstract | false (This can be used in an instance) |
|---|---|
| Nillable | false (Instance values cannot use xsi:nil) |
| Target Namespace | http://www.xml-cml.org/schema/stmml |
| Declared Namespaces | xmlns:sch=http://www.ascc.net/xml/schematron xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns=http://www.xml-cml.org/schema/stmml |
By default matrix represents a rectangular matrix of any quantities representable as XSD or STMML dataTypes. It consists of rows*columns elements, where columns is the fasting moving index. Assuming the elements are counted from 1 they are ordered V[1,1],V[1,2],...V[1,columns],V[2,1],V[2,2],...V[2,columns], ...V[rows,1],V[rows,2],...V[rows,columns]
By default whitespace is used to separate matrix elements; see array for details. There are NO characters or markup delimiting the end of rows; authors must be careful!. The columns and rows attributes have no default values; a row vector requires a rows attribute of 1.
matrix also supports many types of square matrix, but at present we require all elements to be given, even if the matrix is symmetric, antisymmetric or banded diagonal. The matrixType attribute allows software to validate and process the type of matrix.
<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>
|
element matrix | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |