diff options
-rw-r--r-- | help/C/complex.page | 52 |
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> |