<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, sign(x)</title>
    <link>http://www.mapleprimes.com/posts/42822-Signx</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 02:31:59 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 02:31:59 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, sign(x)</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, sign(x)</title>
      <link>http://www.mapleprimes.com/posts/42822-Signx</link>
    </image>
    <item>
      <title>sign(x)</title>
      <link>http://www.mapleprimes.com/posts/42822-Signx?ref=Feed:MaplePrimes:sign(x):Comments#comment79836</link>
      <itunes:summary>Below is an explanation given from ?sign at
the Maple prompt.  Maybe it can shed some light.

plot(sign(x), x=-1..1);
Notice that the plot results in the line y=1. 
This occurs because it computes the constant 
sign(x)=1 and plots that. To get the expected plot, 
enclose sign(x) in right-single quotes.

Regards,
Georgios Kokovidis</itunes:summary>
      <description>The latest comments added to the Post, sign(x)</description>
      <guid>79836</guid>
      <pubDate>Tue, 06 Jun 2006 05:42:00 Z</pubDate>
      <itunes:author>gkokovidis</itunes:author>
      <author>gkokovidis</author>
    </item>
    <item>
      <title>sign and signum</title>
      <link>http://www.mapleprimes.com/posts/42822-Signx?ref=Feed:MaplePrimes:sign(x):Comments#comment79835</link>
      <itunes:summary>The original example is covered by its own explanatory paragraph in the help-page ?sign .

There is also sometimes confusion between the functions sign() and signum().

Consider this below, where no quoting is necessary,

plot([signum(x)],x=-1..1);

and see  ?signum .

acer</itunes:summary>
      <description>The latest comments added to the Post, sign(x)</description>
      <guid>79835</guid>
      <pubDate>Tue, 06 Jun 2006 07:47:46 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
  </channel>
</rss>