<?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[matix-inversion mit lapack++?]]></title><description><![CDATA[<p>hallo zusammen,</p>
<p>ich möchte in c++ eine komplexe matrix invertieren und mir ist zu ohren gekommen, dass das mit lapack++ kein problem sein soll. ich kenn mich mit dieser bibliothek nicht aus und könnte da etwas hilfe gebrauchen. installiert habe ich jetzt lapackpp-2.5.1. mein erster test lässt aber schon darauf schließen, dass da was schief gelaufen ist:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;lapackpp.h&gt;

using namespace std;

void main () {
	int N=2;
	LaGenMatDouble A(N,N); 
	LaVectorDouble x(N), b(N); 

	A(0,0)=2; A(0,1)=0;
	A(1,0)=0; A(1,1)=3;

	b(0)=2;
	b(1)=3;

	LaLinSolve(A,x,b); 

	cin.get();
}
</code></pre>
<blockquote>
<p>1&gt;c:\projektarbeit\lapack-test\main.cpp(19) : error C3861: &quot;LaLinSolve&quot;: Bezeichner wurde nicht gefunden.</p>
</blockquote>
<p>und nun zur eigentlichen inversion. ich hab auf <a href="http://www.netlib.org/lapack/complex/" rel="nofollow">http://www.netlib.org/lapack/complex/</a> die funktion cgetri für die inversion einer komplexen matrix gefunden. verstehe aber nicht ganz, wie ich die benutzen kann. sie soll ja in lapack/complex definiert sein, die datei ist in meinem paket nicht enthalten gewesen.<br />
wenn jemand etwas licht ins dunkel bringen könnte, wäre ich recht dankbar.</p>
<p>gruß christian</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/184002/matix-inversion-mit-lapack</link><generator>RSS for Node</generator><lastBuildDate>Thu, 02 Jul 2026 17:51:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/184002.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Jun 2007 13:14:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to matix-inversion mit lapack++? on Mon, 11 Jun 2007 13:14:46 GMT]]></title><description><![CDATA[<p>hallo zusammen,</p>
<p>ich möchte in c++ eine komplexe matrix invertieren und mir ist zu ohren gekommen, dass das mit lapack++ kein problem sein soll. ich kenn mich mit dieser bibliothek nicht aus und könnte da etwas hilfe gebrauchen. installiert habe ich jetzt lapackpp-2.5.1. mein erster test lässt aber schon darauf schließen, dass da was schief gelaufen ist:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;lapackpp.h&gt;

using namespace std;

void main () {
	int N=2;
	LaGenMatDouble A(N,N); 
	LaVectorDouble x(N), b(N); 

	A(0,0)=2; A(0,1)=0;
	A(1,0)=0; A(1,1)=3;

	b(0)=2;
	b(1)=3;

	LaLinSolve(A,x,b); 

	cin.get();
}
</code></pre>
<blockquote>
<p>1&gt;c:\projektarbeit\lapack-test\main.cpp(19) : error C3861: &quot;LaLinSolve&quot;: Bezeichner wurde nicht gefunden.</p>
</blockquote>
<p>und nun zur eigentlichen inversion. ich hab auf <a href="http://www.netlib.org/lapack/complex/" rel="nofollow">http://www.netlib.org/lapack/complex/</a> die funktion cgetri für die inversion einer komplexen matrix gefunden. verstehe aber nicht ganz, wie ich die benutzen kann. sie soll ja in lapack/complex definiert sein, die datei ist in meinem paket nicht enthalten gewesen.<br />
wenn jemand etwas licht ins dunkel bringen könnte, wäre ich recht dankbar.</p>
<p>gruß christian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1303135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1303135</guid><dc:creator><![CDATA[djang0]]></dc:creator><pubDate>Mon, 11 Jun 2007 13:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to matix-inversion mit lapack++? on Mon, 11 Jun 2007 17:31:47 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-431.html" rel="nofollow">Christoph</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-43.html" rel="nofollow">Mathematik</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1303383</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1303383</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 11 Jun 2007 17:31:47 GMT</pubDate></item></channel></rss>