<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, What's the difference between Re/Im and Re~/Im~?</title>
    <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 21:34:39 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 21:34:39 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, What's the difference between Re/Im and Re~/Im~?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, What's the difference between Re/Im and Re~/Im~?</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm</link>
    </image>
    <item>
      <title>elementwise</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm?ref=Feed:MaplePrimes:What's the difference between Re/Im and Re~/Im~?:Comments#answer44481</link>
      <itunes:summary>&lt;p&gt;You can look at the help page ?operators,elementwise .&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;You can look at the help page ?operators,elementwise .&lt;/p&gt;</description>
      <guid>44481</guid>
      <pubDate>Mon, 01 Mar 2010 00:53:55 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>Oh I see now. But why does</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm?ref=Feed:MaplePrimes:What's the difference between Re/Im and Re~/Im~?:Comments#answer44482</link>
      <itunes:summary>&lt;p&gt;Oh I see now. But why does Re seem to work like Re~ on an Array?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Oh I see now. But why does Re seem to work like Re~ on an Array?&lt;/p&gt;</description>
      <guid>44482</guid>
      <pubDate>Mon, 01 Mar 2010 01:12:00 Z</pubDate>
      <itunes:author>848380</itunes:author>
      <author>848380</author>
    </item>
    <item>
      <title>elementwise</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm?ref=Feed:MaplePrimes:What's the difference between Re/Im and Re~/Im~?:Comments#comment44483</link>
      <itunes:summary>&lt;p&gt;I do not have Maple 13, but it seems so ... while for my taste 'map' is clearer as command then the tilde '~'&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I do not have Maple 13, but it seems so ... while for my taste 'map' is clearer as command then the tilde '~'&lt;/p&gt;</description>
      <guid>44483</guid>
      <pubDate>Mon, 01 Mar 2010 01:12:24 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
    <item>
      <title>elementwise vs map</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm?ref=Feed:MaplePrimes:What's the difference between Re/Im and Re~/Im~?:Comments#comment44484</link>
      <itunes:summary>&lt;p&gt;Yes, elementwise operators were introduced in Maple 13. There are some differences between &lt;b&gt;map&lt;/b&gt; and &lt;b&gt;~&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;1. Syntax. See ?operators,elementwise:&lt;/p&gt;
&lt;blockquote&gt;&lt;i&gt;Unlike map and zip, which usually apply to the operands of their given arguments, element-wise operations treat non-container data types as single elements.&amp;nbsp; For example, f~(a=b) evaluates to f(a=b), wheras map(f,a=b) breaks apart the equation applying f to each side of the equation resulting in f(x)=f(b). &lt;br /&gt;
&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;2. Efficiency. See ?updates,Maple13,efficiency:&lt;/p&gt;
&lt;blockquote&gt;&lt;i&gt; The elementwise operator syntax can be more efficient than zip or map in some cases. Specific operations have been optimized compared to the general code used by zip or map. In other cases, depending on the input, built-in hardware floating-point routines can be used directly.  &lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;If equivalent, I prefer this elementwise operator syntax as it allows typing less (important as I type slow) and have more compact input (hence visually more clear).&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Yes, elementwise operators were introduced in Maple 13. There are some differences between &lt;b&gt;map&lt;/b&gt; and &lt;b&gt;~&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;1. Syntax. See ?operators,elementwise:&lt;/p&gt;
&lt;blockquote&gt;&lt;i&gt;Unlike map and zip, which usually apply to the operands of their given arguments, element-wise operations treat non-container data types as single elements.&amp;nbsp; For example, f~(a=b) evaluates to f(a=b), wheras map(f,a=b) breaks apart the equation applying f to each side of the equation resulting in f(x)=f(b). &lt;br /&gt;
&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;2. Efficiency. See ?updates,Maple13,efficiency:&lt;/p&gt;
&lt;blockquote&gt;&lt;i&gt; The elementwise operator syntax can be more efficient than zip or map in some cases. Specific operations have been optimized compared to the general code used by zip or map. In other cases, depending on the input, built-in hardware floating-point routines can be used directly.  &lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;If equivalent, I prefer this elementwise operator syntax as it allows typing less (important as I type slow) and have more compact input (hence visually more clear).&lt;/p&gt;</description>
      <guid>44484</guid>
      <pubDate>Mon, 01 Mar 2010 02:24:52 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>why</title>
      <link>http://www.mapleprimes.com/questions/35618-Whats-The-Difference-Between-ReIm-And-ReIm?ref=Feed:MaplePrimes:What's the difference between Re/Im and Re~/Im~?:Comments#comment44485</link>
      <itunes:summary>&lt;p&gt;I do not know as &lt;b&gt;Re&lt;/b&gt; is builtin, but time and memory usage seem a bit different:&lt;/p&gt;
&lt;pre&gt;
restart:
`tools/bench`(Re(Array([seq(i+I,i=1..10^5)])));
                            0.156, 2517617

restart:
`tools/bench`(Re~(Array([seq(i+I,i=1..10^5)])));
                            0.203, 3217872
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;I do not know as &lt;b&gt;Re&lt;/b&gt; is builtin, but time and memory usage seem a bit different:&lt;/p&gt;
&lt;pre&gt;
restart:
`tools/bench`(Re(Array([seq(i+I,i=1..10^5)])));
                            0.156, 2517617

restart:
`tools/bench`(Re~(Array([seq(i+I,i=1..10^5)])));
                            0.203, 3217872
&lt;/pre&gt;</description>
      <guid>44485</guid>
      <pubDate>Mon, 01 Mar 2010 03:00:55 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
  </channel>
</rss>