summaryrefslogtreecommitdiff
path: root/help/C
diff options
context:
space:
mode:
authormbkma <[email protected]>2020-02-22 11:37:07 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2020-03-08 22:11:08 +0100
commit6492d06d01c1b6b8bca3efa2445b926e7b738c8d (patch)
tree785ff7d615403898f298520e0d3a0ec8481d2df0 /help/C
parentce0b6c92e4cae7891faf7336cec070b8e11aa5bf (diff)
downloadmate-calc-6492d06d01c1b6b8bca3efa2445b926e7b738c8d.tar.bz2
mate-calc-6492d06d01c1b6b8bca3efa2445b926e7b738c8d.tar.xz
update complex number help-page
Diffstat (limited to 'help/C')
-rw-r--r--help/C/complex.page52
1 files changed, 51 insertions, 1 deletions
diff --git a/help/C/complex.page b/help/C/complex.page
index c6fe978..6539461 100644
--- a/help/C/complex.page
+++ b/help/C/complex.page
@@ -9,6 +9,56 @@
<title>Complex Numbers</title>
<p>
- Complex numbers are not supported in <app>MATE Calculator</app>.
+ <app>MATE Calculator</app> supports complex numbers, as well as the following functions while in <link xref="mouse">Advanced mode</link>.
</p>
+
+ <table>
+
+ <tr>
+ <td><p>Re</p></td>
+ <td><p>Returns the real part of a complex number. For example:</p>
+ <example>
+ <p>
+ Re (2-5i) = 2
+ </p>
+ </example>
+ </td>
+ </tr>
+
+ <tr>
+ <td><p>Im</p></td>
+ <td><p>Returns the imaginary part of a complex number. For example:</p>
+ <example>
+ <p>
+ Im (2-5i) = -5
+ </p>
+ </example>
+ </td>
+ </tr>
+
+ <tr>
+ <td><p>conj</p></td>
+ <td><p>Returns the conjugate of a complex number. For example:</p>
+ <example>
+ <p>
+ conj (2-5i) = 2+5i
+ </p>
+ </example>
+ </td>
+ </tr>
+
+ <tr>
+ <td><p>Arg</p></td>
+ <td><p>Returns the argument of a complex number. For example:</p>
+ <example>
+ <p>
+ Arg (2-5i) = -68.1986
+ </p>
+ </example>
+ </td>
+ </tr>
+
+ </table>
+
+
</page>