# `<m>` (Matrix Function)

This element specifies the Matrix function, consisting of one or more elements laid out in one or more rows and one or more columns.
example: : Examples of matrices are: and . Below is a 2x2 matrix, in its proper form an in XML.
```<m:m>
<m:mPr>
<m:mcs>
<m:mc>
<m:mcPr>
<m:mcJc  m:val="center"/>
<m:count m:val="2"/>
</m:mcPr>
</m:mc>
</m:mcs>
</m:mPr>
<m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>1</m:t>
</m:r >
</m:e>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>2</m:t>
</m:r >
</m:e>
</m:mr>
<m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>3</m:t>
</m:r >
</m:e>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>4</m:t>
</m:r >
</m:e>
</m:mr>
</m:m>```

Parent Elements

`<deg>`7.1.2.26); `<del>`2.13.5.12); `<den>`7.1.2.28); `<e>`7.1.2.32); `<fName>`7.1.2.37); `<ins>`2.13.5.20); `<lim>`7.1.2.52); `<moveFrom>`2.13.5.21); `<moveTo>`2.13.5.26); `<num>`7.1.2.75); `<oMath>`7.1.2.77); `<sub>`7.1.2.112); `<sup>`7.1.2.114)

Child Elements

Subclause

`<mPr>` (Matrix Properties)

`<mr>` (Matrix Row)

The following XML Schema fragment defines the contents of this element:

``````<complexType name="CT_M">
<sequence>
<element name="mPr" type="CT_MPr" minOccurs="0"/>
<element name="mr" type="CT_MR" maxOccurs="unbounded"/>
</sequence>
</complexType>``````