<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Berechnung der inversen matrix???]]></title><description><![CDATA[<p>Hallo,</p>
<p>muss fürs studium einen programmentwurf in c++ schreiben und brauche dafür den eingabebefehl zur berechnung einer inversen 3x3 matrix. für die hilfe bin ich sehr dankbar.</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/216676/berechnung-der-inversen-matrix</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 02:52:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/216676.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Jun 2008 19:06:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Thu, 26 Jun 2008 19:06:15 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>muss fürs studium einen programmentwurf in c++ schreiben und brauche dafür den eingabebefehl zur berechnung einer inversen 3x3 matrix. für die hilfe bin ich sehr dankbar.</p>
<p>LG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536592</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536592</guid><dc:creator><![CDATA[jackline]]></dc:creator><pubDate>Thu, 26 Jun 2008 19:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Thu, 26 Jun 2008 19:11:00 GMT]]></title><description><![CDATA[<p>Und was hast du bereits programmiert oder was hast du schon für Ideen???</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> Mein 400. Beitrag und 1 Jahr lang angemeldet!!! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536598</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536598</guid><dc:creator><![CDATA[*D*]]></dc:creator><pubDate>Thu, 26 Jun 2008 19:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Thu, 26 Jun 2008 19:14:42 GMT]]></title><description><![CDATA[<p>Teilen wir das Ganze mal ein bisschen auf:</p>
<ol>
<li>
<p>was brauchen wir?</p>
</li>
<li>
<p>was müssen wir tun?</p>
</li>
<li></li>
</ol>
<p>- Zu invertierende Matrix(A),<br />
- Einheitsmatrix (Hauptdiagonale besteht aus Einsen)(I)</p>
<ol start="2">
<li></li>
</ol>
<p>Wir müssen Nullen unter den Pivotelementen erzeugen bzw. Zeilen so<br />
ummultiplizieren, dass sie mit anderen zeilen verrechnet werden können</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536601</guid><dc:creator><![CDATA[Quellcode]]></dc:creator><pubDate>Thu, 26 Jun 2008 19:14:42 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Thu, 26 Jun 2008 19:19:56 GMT]]></title><description><![CDATA[<p>Adjunktensatz FTW! Gauss ist bei so einer Minimatrix fester Größe totaler Overkill.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536605</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Thu, 26 Jun 2008 19:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Thu, 26 Jun 2008 21:46:21 GMT]]></title><description><![CDATA[<p>oder ne QR zerlegung,die ist wenigstens stabil <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536667</guid><dc:creator><![CDATA[thomas001]]></dc:creator><pubDate>Thu, 26 Jun 2008 21:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Fri, 27 Jun 2008 12:46:29 GMT]]></title><description><![CDATA[<p>Ja berechne die adjunkte, das ist das einfachste hier ein paar code snippets aus der klasse twoDimArr:<br />
(c) ZeuSOsC</p>
<pre><code>double minor(int x, int y)
        {
         double summe;
        twoDimArr copy(*this);
        copy.DelRow(x);
        copy.DelCol(y);
        summe=copy.det(0,0);

        return summe;
		}

        double cofaktor(int x, int y)
        {
         double summe;
         twoDimArr copy(*this);
        summe=product_series(-1,x+y)*copy.minor(x,y); 

        return summe;
		}

        twoDimArr Adjungated(void)
        {

         twoDimArr copy(*this);
         system(&quot;pause&quot;);
         for(int x=0;x&lt;copy.Rows;x++){
             for(int y=0;y&lt;copy.Cols;y++){
             copy.pArr[x*Cols + y]=this-&gt;cofaktor(x,y);}};
         copy.Transpose();

        return copy;
        }

        twoDimArr Inverse(void)
        {
         twoDimArr copy(*this);
         twoDimArr c(*this);
         double determinante;
         cout&lt;&lt;endl&lt;&lt;&quot;Calulating Inverse of a &quot;&lt;&lt;copy.Rows&lt;&lt;&quot;x&quot;&lt;&lt;copy.Cols&lt;&lt;&quot; Matrix&quot;;
         determinante=copy.det(0,0);
          cout&lt;&lt;endl&lt;&lt;&quot;det=&quot;&lt;&lt;determinante;
          if(determinante!=0)
          {
           copy=c.Adjungated();
           copy= ((double) 1)/((double) determinante) * copy;   
          }        

        return copy;         
        }
</code></pre>
<p>und zum schluss noch die determinante:</p>
<pre><code>double det(int x, int y)
        {
         //berechnet determinante nach Laplaceschen Entwicklungssatz
         double summe=1;
         twoDimArr copy(*this);
         if(copy.Rows!=copy.Cols){return 0;};

         if((copy.Cols==1)&amp;&amp;(copy.Rows==1))
         {summe=copy[0][0]; 

         return summe;};

        if(copy.Cols==2){
        summe=( ((copy[0][0])*(copy[1][1])) - ((copy[0][1])* (copy[1][0])) );
        return summe;};

        summe=0; 
        for(int i=0;i&lt;copy.Cols;i++)
        {if(copy[x][i]!=0){summe=summe+product_series(-1,i+2)*(copy[x][i])* (copy.minor(x,i));}
         }

         return summe;   
        }
</code></pre>
<p>falls du noch ein paar fragen hast frage ruhig.<br />
mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1536978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1536978</guid><dc:creator><![CDATA[zeusosc]]></dc:creator><pubDate>Fri, 27 Jun 2008 12:46:29 GMT</pubDate></item><item><title><![CDATA[Reply to Berechnung der inversen matrix??? on Tue, 01 Jul 2008 20:10:06 GMT]]></title><description><![CDATA[<p>Vielen Dank erstmal für die Hilfe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1539331</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1539331</guid><dc:creator><![CDATA[jackline]]></dc:creator><pubDate>Tue, 01 Jul 2008 20:10:06 GMT</pubDate></item></channel></rss>