summaryrefslogtreecommitdiff
path: root/help/C/complex.page
blob: 6539461a32da4bcb5009c9584589cc07254cd3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<page xmlns="http://projectmallard.org/1.0/"
      type="guide"
      id="complex">

    <info>
        <link type="guide" xref="index#number"/>
    </info>

	<title>Complex Numbers</title>
    
    <p>
    <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>