Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 1421

qtbase5-doc-5.12.6-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgenericmatrix.cpp -->
  <title>QGenericMatrix Class | Qt GUI 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QGenericMatrix</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QGenericMatrix Class</h1>
<!-- $$$QGenericMatrix-brief -->
<p>The <a href="qgenericmatrix.html">QGenericMatrix</a> class is a template class that represents a NxM transformation matrix with N columns and M rows. <a href="#details">More...</a></p>
<!-- @@@QGenericMatrix -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QGenericMatrix&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.6</td></tr></table></div><ul>
<li><a href="qgenericmatrix-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QGenericMatrix-2">QGenericMatrix</a></b>(const T *<i>values</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const T *</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#constData">constData</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#copyDataTo">copyDataTo</a></b>(T *<i>values</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> T *</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#data">data</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const T *</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#data-1">data</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#fill">fill</a></b>(T <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#isIdentity">isIdentity</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#setToIdentity">setToIdentity</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;M, N, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#transposed">transposed</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-not-eq">operator!=</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>other</i> = ...) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const T &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-28-29">operator()</a></b>(int <i>row</i>, int <i>column</i>) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> T &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-28-29-1">operator()</a></b>(int <i>row</i>, int <i>column</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2a-eq">operator*=</a></b>(T <i>factor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2b-eq">operator+=</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>other</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator--eq">operator-=</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>other</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2f-eq">operator/=</a></b>(T <i>divisor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-eq-eq">operator==</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>other</i> = ...) const</td></tr>
</table></div>
<a name="related-non-members"></a>
<h2 id="related-non-members">Related Non-Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix2x2-typedef">QMatrix2x2</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix2x3-typedef">QMatrix2x3</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix2x4-typedef">QMatrix2x4</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix3x2-typedef">QMatrix3x2</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix3x3-typedef">QMatrix3x3</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix3x4-typedef">QMatrix3x4</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix4x2-typedef">QMatrix4x2</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#QMatrix4x3-typedef">QMatrix4x3</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;M1, M2, TT&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2a">operator*</a></b>(const QGenericMatrix&lt;NN, M2, TT&gt; &amp;<i>m1</i> = ..., const QGenericMatrix&lt;M1, NN, TT&gt; &amp;<i>m2</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2a-1">operator*</a></b>(T <i>factor</i>, const QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2a-2">operator*</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ..., T <i>factor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2b">operator+</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>m1</i> = ..., const QGenericMatrix&lt;N, M, T&gt; &amp;<i>m2</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-">operator-</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>m1</i> = ..., const QGenericMatrix&lt;N, M, T&gt; &amp;<i>m2</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator--1">operator-</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGenericMatrix&lt;N, M, T&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-2f">operator/</a></b>(const QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ..., T <i>divisor</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-lt-lt">operator&lt;&lt;</a></b>(QDataStream &amp;<i>stream</i>, const QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ...)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QDataStream &amp;</td><td class="memItemRight bottomAlign"><b><a href="qgenericmatrix.html#operator-gt-gt">operator&gt;&gt;</a></b>(QDataStream &amp;<i>stream</i>, QGenericMatrix&lt;N, M, T&gt; &amp;<i>matrix</i> = ...)</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QGenericMatrix-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qgenericmatrix.html">QGenericMatrix</a> class is a template class that represents a NxM transformation matrix with N columns and M rows.</p>
<p>The <a href="qgenericmatrix.html">QGenericMatrix</a> template has three parameters:</p>
<div class="table"><table class="generic">
 <tr valign="top" class="odd"><td >N</td><td >Number of columns.</td></tr>
<tr valign="top" class="even"><td >M</td><td >Number of rows.</td></tr>
<tr valign="top" class="odd"><td >T</td><td >Element type that is visible to users of the class.</td></tr>
</table></div>
</div>
<p><b>See also </b><a href="qmatrix4x4.html">QMatrix4x4</a>.</p>
<!-- @@@QGenericMatrix -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGenericMatrix[overload1]$$$QGenericMatrix -->
<h3 class="fn" id="QGenericMatrix"><a name="QGenericMatrix"></a>QGenericMatrix::<span class="name">QGenericMatrix</span>()</h3>
<p>Constructs a NxM identity matrix.</p>
<!-- @@@QGenericMatrix -->
<!-- $$$QGenericMatrix$$$QGenericMatrixconstT* -->
<h3 class="fn" id="QGenericMatrix-2"><a name="QGenericMatrix-2"></a>QGenericMatrix::<span class="name">QGenericMatrix</span>(const <span class="type">T</span> *<i>values</i>)</h3>
<p>Constructs a matrix from the given N * M floating-point <i>values</i>. The contents of the array <i>values</i> is assumed to be in row-major order.</p>
<p><b>See also </b><a href="qgenericmatrix.html#copyDataTo">copyDataTo</a>().</p>
<!-- @@@QGenericMatrix -->
<!-- $$$constData[overload1]$$$constData -->
<h3 class="fn" id="constData"><a name="constData"></a>const <span class="type">T</span> *QGenericMatrix::<span class="name">constData</span>() const</h3>
<p>Returns a constant pointer to the raw data of this matrix.</p>
<p><b>See also </b><a href="qgenericmatrix.html#data">data</a>().</p>
<!-- @@@constData -->
<!-- $$$copyDataTo[overload1]$$$copyDataToT* -->
<h3 class="fn" id="copyDataTo"><a name="copyDataTo"></a><span class="type">void</span> QGenericMatrix::<span class="name">copyDataTo</span>(<span class="type">T</span> *<i>values</i>) const</h3>
<p>Retrieves the N * M items in this matrix and copies them to <i>values</i> in row-major order.</p>
<!-- @@@copyDataTo -->
<!-- $$$data[overload1]$$$data -->
<h3 class="fn" id="data"><a name="data"></a><span class="type">T</span> *QGenericMatrix::<span class="name">data</span>()</h3>
<p>Returns a pointer to the raw data of this matrix.</p>
<p><b>See also </b><a href="qgenericmatrix.html#constData">constData</a>().</p>
<!-- @@@data -->
<!-- $$$data$$$data -->
<h3 class="fn" id="data-1"><a name="data-1"></a>const <span class="type">T</span> *QGenericMatrix::<span class="name">data</span>() const</h3>
<p>Returns a constant pointer to the raw data of this matrix.</p>
<p><b>See also </b><a href="qgenericmatrix.html#constData">constData</a>().</p>
<!-- @@@data -->
<!-- $$$fill[overload1]$$$fillT -->
<h3 class="fn" id="fill"><a name="fill"></a><span class="type">void</span> QGenericMatrix::<span class="name">fill</span>(<span class="type">T</span> <i>value</i>)</h3>
<p>Fills all elements of this matrix with <i>value</i>.</p>
<!-- @@@fill -->
<!-- $$$isIdentity[overload1]$$$isIdentity -->
<h3 class="fn" id="isIdentity"><a name="isIdentity"></a><span class="type">bool</span> QGenericMatrix::<span class="name">isIdentity</span>() const</h3>
<p>Returns <code>true</code> if this matrix is the identity; false otherwise.</p>
<p><b>See also </b><a href="qgenericmatrix.html#setToIdentity">setToIdentity</a>().</p>
<!-- @@@isIdentity -->
<!-- $$$setToIdentity[overload1]$$$setToIdentity -->
<h3 class="fn" id="setToIdentity"><a name="setToIdentity"></a><span class="type">void</span> QGenericMatrix::<span class="name">setToIdentity</span>()</h3>
<p>Sets this matrix to the identity.</p>
<p><b>See also </b><a href="qgenericmatrix.html#isIdentity">isIdentity</a>().</p>
<!-- @@@setToIdentity -->
<!-- $$$transposed[overload1]$$$transposed -->
<h3 class="fn" id="transposed"><a name="transposed"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">M</span>, <span class="type">N</span>, <span class="type">T</span>&gt; QGenericMatrix::<span class="name">transposed</span>() const</h3>
<p>Returns this matrix, transposed about its diagonal.</p>
<!-- @@@transposed -->
<!-- $$$operator!=[overload1]$$$operator!=constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-not-eq"><a name="operator-not-eq"></a><span class="type">bool</span> QGenericMatrix::<span class="name">operator!=</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>other</i> = ...) const</h3>
<p>Returns <code>true</code> if this matrix is not identical to <i>other</i>; false otherwise.</p>
<!-- @@@operator!= -->
<!-- $$$operator()[overload1]$$$operator()intint -->
<h3 class="fn" id="operator-28-29"><a name="operator-28-29"></a>const <span class="type">T</span> &amp;QGenericMatrix::<span class="name">operator()</span>(<span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>column</i>) const</h3>
<p>Returns a constant reference to the element at position (<i>row</i>, <i>column</i>) in this matrix.</p>
<!-- @@@operator() -->
<!-- $$$operator()$$$operator()intint -->
<h3 class="fn" id="operator-28-29-1"><a name="operator-28-29-1"></a><span class="type">T</span> &amp;QGenericMatrix::<span class="name">operator()</span>(<span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>column</i>)</h3>
<p>Returns a reference to the element at position (<i>row</i>, <i>column</i>) in this matrix so that the element can be assigned to.</p>
<!-- @@@operator() -->
<!-- $$$operator*=[overload1]$$$operator*=T -->
<h3 class="fn" id="operator-2a-eq"><a name="operator-2a-eq"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;QGenericMatrix::<span class="name">operator*=</span>(<span class="type">T</span> <i>factor</i>)</h3>
<p>Multiplies all elements of this matrix by <i>factor</i>.</p>
<!-- @@@operator*= -->
<!-- $$$operator+=[overload1]$$$operator+=constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-2b-eq"><a name="operator-2b-eq"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;QGenericMatrix::<span class="name">operator+=</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>other</i> = ...)</h3>
<p>Adds the contents of <i>other</i> to this matrix.</p>
<!-- @@@operator+= -->
<!-- $$$operator-=[overload1]$$$operator-=constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator--eq"><a name="operator--eq"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;QGenericMatrix::<span class="name">operator-=</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>other</i> = ...)</h3>
<p>Subtracts the contents of <i>other</i> from this matrix.</p>
<!-- @@@operator-= -->
<!-- $$$operator/=[overload1]$$$operator/=T -->
<h3 class="fn" id="operator-2f-eq"><a name="operator-2f-eq"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;QGenericMatrix::<span class="name">operator/=</span>(<span class="type">T</span> <i>divisor</i>)</h3>
<p>Divides all elements of this matrix by <i>divisor</i>.</p>
<!-- @@@operator/= -->
<!-- $$$operator==[overload1]$$$operator==constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-eq-eq"><a name="operator-eq-eq"></a><span class="type">bool</span> QGenericMatrix::<span class="name">operator==</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>other</i> = ...) const</h3>
<p>Returns <code>true</code> if this matrix is identical to <i>other</i>; false otherwise.</p>
<!-- @@@operator== -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$QMatrix2x2 -->
<h3 class="fn" id="QMatrix2x2-typedef"><a name="QMatrix2x2-typedef"></a>typedef <span class="name">QMatrix2x2</span></h3>
<p>The QMatrix2x2 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 2 columns, 2 rows, and float as the element type.</p>
<!-- @@@QMatrix2x2 -->
<!-- $$$QMatrix2x3 -->
<h3 class="fn" id="QMatrix2x3-typedef"><a name="QMatrix2x3-typedef"></a>typedef <span class="name">QMatrix2x3</span></h3>
<p>The QMatrix2x3 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 2 columns, 3 rows, and float as the element type.</p>
<!-- @@@QMatrix2x3 -->
<!-- $$$QMatrix2x4 -->
<h3 class="fn" id="QMatrix2x4-typedef"><a name="QMatrix2x4-typedef"></a>typedef <span class="name">QMatrix2x4</span></h3>
<p>The QMatrix2x4 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 2 columns, 4 rows, and float as the element type.</p>
<!-- @@@QMatrix2x4 -->
<!-- $$$QMatrix3x2 -->
<h3 class="fn" id="QMatrix3x2-typedef"><a name="QMatrix3x2-typedef"></a>typedef <span class="name">QMatrix3x2</span></h3>
<p>The QMatrix3x2 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 3 columns, 2 rows, and float as the element type.</p>
<!-- @@@QMatrix3x2 -->
<!-- $$$QMatrix3x3 -->
<h3 class="fn" id="QMatrix3x3-typedef"><a name="QMatrix3x3-typedef"></a>typedef <span class="name">QMatrix3x3</span></h3>
<p>The QMatrix3x3 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 3 columns, 3 rows, and float as the element type.</p>
<!-- @@@QMatrix3x3 -->
<!-- $$$QMatrix3x4 -->
<h3 class="fn" id="QMatrix3x4-typedef"><a name="QMatrix3x4-typedef"></a>typedef <span class="name">QMatrix3x4</span></h3>
<p>The QMatrix3x4 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 3 columns, 4 rows, and float as the element type.</p>
<!-- @@@QMatrix3x4 -->
<!-- $$$QMatrix4x2 -->
<h3 class="fn" id="QMatrix4x2-typedef"><a name="QMatrix4x2-typedef"></a>typedef <span class="name">QMatrix4x2</span></h3>
<p>The QMatrix4x2 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 4 columns, 2 rows, and float as the element type.</p>
<!-- @@@QMatrix4x2 -->
<!-- $$$QMatrix4x3 -->
<h3 class="fn" id="QMatrix4x3-typedef"><a name="QMatrix4x3-typedef"></a>typedef <span class="name">QMatrix4x3</span></h3>
<p>The QMatrix4x3 type defines a convenient instantiation of the <a href="qgenericmatrix.html">QGenericMatrix</a> template for 4 columns, 3 rows, and float as the element type.</p>
<!-- @@@QMatrix4x3 -->
<!-- $$$operator*[overload1]$$$operator*constQGenericMatrix<NN,M2,TT>&constQGenericMatrix<M1,NN,TT>& -->
<h3 class="fn" id="operator-2a"><a name="operator-2a"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">M1</span>, <span class="type">M2</span>, <span class="type">TT</span>&gt; <span class="name">operator*</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">NN</span>, <span class="type">M2</span>, <span class="type">TT</span>&gt; &amp;<i>m1</i> = ..., const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">M1</span>, <span class="type">NN</span>, <span class="type">TT</span>&gt; &amp;<i>m2</i> = ...)</h3>
<p>Returns the product of the NNxM2 matrix <i>m1</i> and the M1xNN matrix <i>m2</i> to produce a M1xM2 matrix result.</p>
<!-- @@@operator* -->
<!-- $$$operator*$$$operator*TconstQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-2a-1"><a name="operator-2a-1"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator*</span>(<span class="type">T</span> <i>factor</i>, const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ...)</h3>
<p>Returns the result of multiplying all elements of <i>matrix</i> by <i>factor</i>.</p>
<!-- @@@operator* -->
<!-- $$$operator*$$$operator*constQGenericMatrix<N,M,T>&T -->
<h3 class="fn" id="operator-2a-2"><a name="operator-2a-2"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator*</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ..., <span class="type">T</span> <i>factor</i>)</h3>
<p>Returns the result of multiplying all elements of <i>matrix</i> by <i>factor</i>.</p>
<!-- @@@operator* -->
<!-- $$$operator+[overload1]$$$operator+constQGenericMatrix<N,M,T>&constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-2b"><a name="operator-2b"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator+</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>m1</i> = ..., const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>m2</i> = ...)</h3>
<p>Returns the sum of <i>m1</i> and <i>m2</i>.</p>
<!-- @@@operator+ -->
<!-- $$$operator-[overload1]$$$operator-constQGenericMatrix<N,M,T>&constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-"><a name="operator-"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator-</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>m1</i> = ..., const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>m2</i> = ...)</h3>
<p>Returns the difference of <i>m1</i> and <i>m2</i>.</p>
<!-- @@@operator- -->
<!-- $$$operator-$$$operator-constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator--1"><a name="operator--1"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator-</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ...)</h3>
<p>This is an overloaded function.</p>
<p>Returns the negation of <i>matrix</i>.</p>
<!-- @@@operator- -->
<!-- $$$operator/[overload1]$$$operator/constQGenericMatrix<N,M,T>&T -->
<h3 class="fn" id="operator-2f"><a name="operator-2f"></a><span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; <span class="name">operator/</span>(const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ..., <span class="type">T</span> <i>divisor</i>)</h3>
<p>Returns the result of dividing all elements of <i>matrix</i> by <i>divisor</i>.</p>
<!-- @@@operator/ -->
<!-- $$$operator<<[overload1]$$$operator<<QDataStream&constQGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-lt-lt"><a name="operator-lt-lt"></a><span class="type"><a href="../qtcore/qdatastream.html">QDataStream</a></span> &amp;<span class="name">operator&lt;&lt;</span>(<span class="type"><a href="../qtcore/qdatastream.html">QDataStream</a></span> &amp;<i>stream</i>, const <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ...)</h3>
<p>Writes the given <i>matrix</i> to the given <i>stream</i> and returns a reference to the stream.</p>
<p><b>See also </b><a href="../qtcore/datastreamformat.html">Serializing Qt Data Types</a>.</p>
<!-- @@@operator<< -->
<!-- $$$operator>>[overload1]$$$operator>>QDataStream&QGenericMatrix<N,M,T>& -->
<h3 class="fn" id="operator-gt-gt"><a name="operator-gt-gt"></a><span class="type"><a href="../qtcore/qdatastream.html">QDataStream</a></span> &amp;<span class="name">operator&gt;&gt;</span>(<span class="type"><a href="../qtcore/qdatastream.html">QDataStream</a></span> &amp;<i>stream</i>, <span class="type"><a href="qgenericmatrix.html#QGenericMatrix">QGenericMatrix</a></span>&lt;<span class="type">N</span>, <span class="type">M</span>, <span class="type">T</span>&gt; &amp;<i>matrix</i> = ...)</h3>
<p>Reads a NxM matrix from the given <i>stream</i> into the given <i>matrix</i> and returns a reference to the stream.</p>
<p><b>See also </b><a href="../qtcore/datastreamformat.html">Serializing Qt Data Types</a>.</p>
<!-- @@@operator>> -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>