~ubuntu-branches/ubuntu/lucid/gcalctool/lucid-updates

« back to all changes in this revision

Viewing changes to help/oc/functions.page

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-04-07 19:41:56 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100407194156-hgj8g002ffce2de0
Tags: 5.30.0.is.5.28.2-0ubuntu1
Downgrade to 5.28.2 as the new version does not support number bases
as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="function">
3
 
 
4
 
    <info>
5
 
        <link type="guide" xref="index#equation"/>
6
 
    </info>
7
 
 
8
 
        <title>Functions</title>
9
 
    
10
 
    <p>
11
 
    Functions can be used by inserting the name of the function followed by the function argument.
12
 
    If the argument is not a number or <link xref="variable">variable</link> then use parenthesis around the argument.
13
 
    </p>
14
 
    <example>
15
 
    <p>
16
 
    sin 30
17
 
    </p>
18
 
    <p>
19
 
    abs (5−9)
20
 
    </p>
21
 
    </example>
22
 
    <p>
23
 
    The following functions are defined.
24
 
    </p>
25
 
    <table>
26
 
    <tr>
27
 
    <td><p>abs</p></td>
28
 
    <td><p><link xref="absolute">Absolute Value</link></p></td>
29
 
    </tr>
30
 
    <tr>
31
 
    <td><p>cos</p></td>
32
 
    <td><p><link xref="trigonometry">Cosinus</link></p></td>
33
 
    </tr>
34
 
    <tr>
35
 
    <td><p>cosh</p></td>
36
 
    <td><p><link xref="trigonometry">Hyperbolic Cosine</link></p></td>
37
 
    </tr>
38
 
    <tr>
39
 
    <td><p>frac</p></td>
40
 
    <td><p>Fractional Component</p></td>
41
 
    </tr>
42
 
    <tr>
43
 
    <td><p>int</p></td>
44
 
    <td><p>Integer Component</p></td>
45
 
    </tr>
46
 
    <tr>
47
 
    <td><p>ln</p></td>
48
 
    <td><p><link xref="logarithm">Natural Logarithm</link></p></td>
49
 
    </tr>
50
 
    <tr>
51
 
    <td><p>log</p></td>
52
 
    <td><p><link xref="logarithm">Logarithm</link></p></td>
53
 
    </tr>
54
 
    <tr>
55
 
    <td><p>not</p></td>
56
 
    <td><p><link xref="boolean">Boolean NOT</link></p></td>
57
 
    </tr>
58
 
    <tr>
59
 
    <td><p>ones</p></td>
60
 
    <td><p>Ones complement</p></td>
61
 
    </tr>
62
 
    <tr>
63
 
    <td><p>sin</p></td>
64
 
    <td><p><link xref="trigonometry">Sinus</link></p></td>
65
 
    </tr>
66
 
    <tr>
67
 
    <td><p>sinh</p></td>
68
 
    <td><p><link xref="trigonometry">Hyperbolic Sine</link></p></td>
69
 
    </tr>
70
 
    <tr>
71
 
    <td><p>sqrt</p></td>
72
 
    <td><p><link xref="power">Square Root</link></p></td>
73
 
    </tr>
74
 
    <tr>
75
 
    <td><p>tan</p></td>
76
 
    <td><p><link xref="trigonometry">Tangent</link></p></td>
77
 
    </tr>
78
 
    <tr>
79
 
    <td><p>tanh</p></td>
80
 
    <td><p><link xref="trigonometry">Hyperbolic Tangent</link></p></td>
81
 
    </tr>
82
 
    <tr>
83
 
    <td><p>twos</p></td>
84
 
    <td><p>Twos complement</p></td>
85
 
    </tr>
86
 
    </table>
87
 
    <p>
88
 
    <app>GCalctool</app> does not support user-defined functions.
89
 
    </p>
90
 
</page>