<?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[Komplexe Zahlen nach Betrag und Phase]]></title><description><![CDATA[<p>ich such eine library, die komplexe zahlen enthält. std::complex ist gar nicht schlecht, aber leider ist sie für imaginär und real teil ausgelegt und nicht für betrag und phase.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/181686/komplexe-zahlen-nach-betrag-und-phase</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 10:24:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/181686.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 May 2007 09:24:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:24:21 GMT]]></title><description><![CDATA[<p>ich such eine library, die komplexe zahlen enthält. std::complex ist gar nicht schlecht, aber leider ist sie für imaginär und real teil ausgelegt und nicht für betrag und phase.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285982</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285982</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Wed, 16 May 2007 09:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:37:35 GMT]]></title><description><![CDATA[<p>Das ist doch nur die interne Repräsentation. Nach außen hin hast du doch die Funktionen abs, arg und polar zur Verfügung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285990</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Wed, 16 May 2007 09:37:35 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:38:22 GMT]]></title><description><![CDATA[<p>Es sollte denke ich nicht zu schwierig sein, eine Klasse von std::complex abzuleiten, die den Konstruktor entsprechend ueberlaedt. Wie intern damit gerechnet wird ist ja relativ egal. Oder du schriebst dir drei Funktionen, die aus der Poalrdarstellung ne komplexe Zahl machen, bzw. von einer komplexen Zahl Phase oder Betrag wiedergeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285991</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285991</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Wed, 16 May 2007 09:38:22 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:45:09 GMT]]></title><description><![CDATA[<p>pumuckl schrieb:</p>
<blockquote>
<p>Oder du schriebst dir drei Funktionen, die aus der Poalrdarstellung ne komplexe Zahl machen, bzw. von einer komplexen Zahl Phase oder Betrag wiedergeben.</p>
</blockquote>
<p>Wieso selber schreiben? Die Funktionen gibt es doch schon (siehe Bashar's Beitrag).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285996</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285996</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 16 May 2007 09:45:09 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:48:13 GMT]]></title><description><![CDATA[<p>k sry wusste ich net. (Haette allerdings erwartet, dass wenn RaRu schon auf std::complex gestossen ist, er auch diese Funktionen haette finden muessen. so kann man sich irren...)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1285998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1285998</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Wed, 16 May 2007 09:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 09:56:46 GMT]]></title><description><![CDATA[<p>die funktionen hatte ich auch schon gesehen. daher ist die ausgabe auch nicht mein problem, sondern die eingabe. und wie Bashar es schon sagte, die interne representation ist mir egal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286004</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Wed, 16 May 2007 09:56:46 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 10:02:51 GMT]]></title><description><![CDATA[<p>Wo ist da ein Problem?</p>
<pre><code class="language-cpp">cout&lt;&lt;&quot;Bitte Zahl in Polarkoordinaten eingeben:&quot;;
double r,p;
cin&gt;&gt;r&gt;&gt;p;
complex&lt;double&gt; c = polar(r,p);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1286013</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286013</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 16 May 2007 10:02:51 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 10:15:17 GMT]]></title><description><![CDATA[<p>sorry, die funktion hatte ich übersehen.<br />
alles klar. danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286027</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Wed, 16 May 2007 10:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 14:37:25 GMT]]></title><description><![CDATA[<p>wie kann ich denn eine bereits erstellte komplexe zahl in der karthesischen form neu befüllen (also ein pendant zu polar())? ich habe nur befüllung via konstruktor im internet gefunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286239</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286239</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Wed, 16 May 2007 14:37:25 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 14:38:10 GMT]]></title><description><![CDATA[<p>Und wieso ist die schlecht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286240</guid><dc:creator><![CDATA[Helium]]></dc:creator><pubDate>Wed, 16 May 2007 14:38:10 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 21:18:06 GMT]]></title><description><![CDATA[<p>zum anfang mache ich so etwas wie:<br />
std::complex&lt;double&gt;* arr = new std::complex&lt;double&gt;[n];<br />
dann möchte ich den array mit komplexen zahlen (real und imaginär teil) aus einer datei befüllen.<br />
später werden die daten mit weiteren komplexen zahlen, die ich mit polar() erzeuge, weiter verarbeitet.<br />
daher die frage, wie bekomme ich eine bereits erstellte komplexe zahl befüllt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286532</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286532</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Wed, 16 May 2007 21:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Wed, 16 May 2007 23:03:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">arr[i] = std::complex&lt;double&gt;(a, b);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1286565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286565</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Wed, 16 May 2007 23:03:38 GMT</pubDate></item><item><title><![CDATA[Reply to Komplexe Zahlen nach Betrag und Phase on Thu, 17 May 2007 08:26:54 GMT]]></title><description><![CDATA[<p>ah, danke.<br />
man ruft also immer wieder den konstruktor auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1286621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1286621</guid><dc:creator><![CDATA[PaRu]]></dc:creator><pubDate>Thu, 17 May 2007 08:26:54 GMT</pubDate></item></channel></rss>